Update Drive file
google_drive_updateRename a Google Drive file or replace its contents with text or a local file upload by specifying the file ID.
Instructions
Rename a file and/or replace its content (text or local file path).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileId": "<fileId>"
},
"name": "google_drive_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name. | |
| path | No | Local file path to upload as new content (reads raw bytes; use instead of content). | |
| fileId | Yes | Drive file ID. | |
| account | No | Account nickname to use. | |
| content | No | New content. | |
| mimeType | No |