drive_folders
Manage which Google Drive folders the Drive tools work in.
action='list' (default): the workspace's Drive address, the registered folders (with
reachable) andnot_added: what is shared with the address but not registered yet.action='add' + link: register a folder, file or Shared Drive the owner shared with the address (a pasted Drive link or id). The first one activates the connection.
action='remove' + link: unregister it (the share in Google stays). Not connected yet: channels.connect(channel='google_drive') creates the address to share with.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "drive_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | For add/remove: a Drive link or id of the shared folder, file or Shared Drive. | |
| action | No | add or remove; OMIT to list. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |