move_file
Move a file or folder to another Google Drive folder by specifying its ID and the destination folder ID, returning updated metadata with the new parent.
Instructions
Move a file or folder to a different folder in Google Drive.
Args: file_id: The ID of the file or folder to move destination_folder_id: The ID of the destination folder
Returns: Updated file metadata including new 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": {
"file_id": "<file_id>",
"destination_folder_id": "<destination_folder_id>"
},
"name": "move_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| destination_folder_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||