move_file
Relocate a file to a specified folder in Google Drive by providing the file ID and destination folder ID.
Instructions
Move a file to a different folder in Google Drive.
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>",
"new_parent_id": "<new_parent_id>"
},
"name": "move_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The ID of the file to move. | |
| new_parent_id | Yes | The ID of the destination folder. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |