copy_file
Copy a file from a source path to a destination path, creating parent folders automatically when needed.
Instructions
Copy a file to a new location.
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": {
"src": "<src>",
"dst": "<dst>"
},
"name": "copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst | Yes | Destination path (parent folders are created as needed). | |
| src | Yes | Source path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |