copy_file
Copies a file from a source path to a destination path, with an option to overwrite existing files.
Instructions
Copy file from source to destination.
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": {
"source": "<source>",
"destination": "<destination>"
},
"name": "copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source path. | |
| overwrite | No | Overwrite if exists. Default: false. | |
| destination | Yes | Destination path. |