drive_copy_file
Copies a file in Google Drive to the same location. Specify the source file and Google account, and optionally set a new name for the duplicate.
Instructions
Create a copy of a file in Google Drive. Optionally specify a new name for the copy.
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": {
"accountId": "<accountId>",
"fileId": "<fileId>"
},
"name": "drive_copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the copy (default: "Copy of [original name]") | |
| fileId | Yes | The file ID to copy | |
| accountId | Yes | The Google account ID, alias, or email |