Native OpenClaw drive plugin with local folder browsing, text file editing, search, and trash restore tools

Install

openclaw plugins install clawhub:drive

Drive Plugin

Local Drive-style file management for OpenClaw. The plugin exposes one configured folder as a Drive workspace and lets the agent browse folders, search by name, read and write text files, create folders, move and copy items, and use a recoverable trash.

Config

json5
{
  plugins: {
    entries: {
      drive: {
        enabled: true,
        config: {
          rootPath: "~/Drive",
          trashPath: "~/.openclaw/state/drive/trash",
          defaultListLimit: 100,
          maxReadBytes: 200000,
          allowHidden: false,
        },
      },
    },
  },
}

If rootPath is omitted, the plugin uses ~/Drive.

Tools

  • drive_list
  • drive_search
  • drive_get
  • drive_read_text
  • drive_write_text
  • drive_create_folder
  • drive_move
  • drive_copy
  • drive_delete
  • drive_trash_list
  • drive_restore