copy_file
Copy a file to another folder or with a new name. Destination defaults to original folder; folders cannot be copied.
Instructions
WRITES. Copy a file, optionally with a new name and into another folder. Folders cannot be copied.
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>"
},
"name": "copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Default: "Copy of <name>". | |
| fileId | Yes | ||
| folderId | No | Destination folder. Default: same folder as the original. |