copy
Duplicate a file or folder to a target path; a destination ending with '/' places it inside that folder with the same name, with optional overwrite.
Instructions
Copy a file or folder. A destination ending with '/' means 'into this folder, same name'.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination path, or folder ending with '/' | |
| from | Yes | Source path | |
| overwrite | No | Replace an existing destination |