drive_move_file
Move a Google Drive file to another folder, rename it, or do both in a single call. Prevents overwriting by refusing when the target name already exists in the destination folder.
Instructions
Move a Google Drive file to a different folder, rename it, or both in one call. Refuses when a file with the resulting name already exists in the target folder. Cannot delete or copy the file, and cannot move it to a different Google account.
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": {
"account": "<account>",
"fileId": "<fileId>"
},
"name": "drive_move_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New file name. Omit to move without renaming. | |
| fileId | Yes | Drive file id to move or rename. | |
| account | Yes | Configured Gmail account alias, e.g. work, personal, support. | |
| folderId | No | Destination folder id. Omit to rename without moving. |