drive_offline
Make a Drive file available offline on the phone or remove offline access. Identify the item by name, path, or search index to control availability.
Instructions
Make a file available offline on the phone (enable=true) or remove offline access.
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_offline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Exact item name in the current location (or in path). | |
| path | No | Folder holding the item ("/A/B" from My Drive, "A/B" relative); default: current. | |
| index | No | Index from the last drive.list / drive.search. | |
| enable | No | True = make available offline, false = remove offline access. | |
| occurrence | No | Which item when several share the name (0 = first). |