copy_drive_file
Create a copy of a Google Drive file, with optional new name and target folder.
Instructions
Create a copy of a file 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": {
"user_id": "<user_id>",
"file_id": "<file_id>"
},
"name": "copy_drive_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | The EMAIL of the Google account. Choose from: | |
| file_id | Yes | ID of the file to copy. | |
| new_name | No | New name for the copied file. If not specified, the original name will be used. | |
| parent_folder_id | No | ID of the parent folder for the copy. If not specified, the copy will be in the same folder as the original. |