update_file_metadata
Rename, move, describe, or star a Google Drive file by updating only the metadata fields you supply; moving replaces the current parent folder.
Instructions
WRITES. Rename, move, describe or star a file. Only the fields passed are changed. Moving replaces the current parent folder.
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": "update_file_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| fileId | Yes | ||
| starred | No | ||
| description | No | ||
| moveToFolderId | No | Destination folder id. "root" is My Drive. |