copy_file
Copy a file from a source path to a destination path, with an option to overwrite an existing file.
Instructions
Copy a 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 file path | |
| destination | Yes | Destination file path | |
| overwrite | No | Whether to overwrite if destination exists (default: False) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |