Copy File or Directory
copy_fileCopies a file or directory from source to destination. Supports recursive directory copying without modifying the source.
Instructions
Copy a file or directory (recursively for directories). Does not modify the source, so no approval is required.
Args:
source (string): Path to copy from.
destination (string): Path to copy to.
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 | Path to copy from | |
| destination | Yes | Path to copy to |