copy_file
Copy a file to a new location within the workspace, with optional confirmation to avoid overwriting existing files.
Instructions
Copy a file to a new location within the workspace.
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 file path. | |
| src | Yes | Source file path. | |
| confirm | No | Set to True to confirm if destination already exists. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||