google-drive_update_file
Update file metadata in Google Drive. Change name, description, parents, starred status, or move to trash.
Instructions
Update file metadata
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_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the file | |
| fields | No | Comma-separated list of fields to return in response | |
| fileId | Yes | ID of the file to update | |
| parents | No | Array of parent folder IDs | |
| starred | No | Whether to star the file | |
| trashed | No | Whether to move the file to trash | |
| description | No | New description for the file | |
| supportsAllDrives | No | Whether to support files in shared drives |