Move Drive file to folder
google_drive_moveMove a Google Drive file into a destination folder. Add removeParentFolderId to remove it from its current folder; omit it to keep the file in both folders.
Instructions
Move a file into a folder. Provide removeParentFolderId to also remove it from its current folder (true move); omit to add it to an additional 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>",
"parentFolderId": "<parentFolderId>"
},
"name": "google_drive_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | Drive file ID. | |
| account | No | Account nickname to use. | |
| parentFolderId | Yes | Destination folder ID. | |
| removeParentFolderId | No | Current folder ID to remove the file from (optional). |