drive_restore
Restore a deleted Google Drive item from Trash to its original folder using its name, listing index, or occurrence.
Instructions
Restore an item from the Trash to its original folder.
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_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Exact name of the item in the Trash. | |
| index | No | Index from the last listing of the Trash (drive.open section=trash). | |
| occurrence | No | Which item when several share the name (0 = first). |