copy_file
Copies a file from a source path to a destination path, with options to overwrite existing files and preserve timestamps.
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 file path | |
| overwrite | No | Overwrite destination if it exists | |
| destination | Yes | Destination file path | |
| preserveTimestamps | No | Preserve file timestamps |