Copy File or Folder
copy_pathCopy a file or folder on a specific instance (by id or exact name). Useful for taking a quick backup of a config file before editing it. Copying is additive and needs no confirmation, unless overwrite is set, which destroys whatever is already at the destination and requires confirm: true.
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": {
"instance": "<instance>",
"from": "<from>",
"to": "<to>"
},
"name": "copy_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination, from the instance root. | |
| from | Yes | File or folder to copy, from the instance root. | |
| confirm | No | Required only when `overwrite` is true. Show the user what will be replaced before setting this. | |
| instance | Yes | Instance id (preferred) or exact instance name. | |
| overwrite | No | Allow replacing an existing file at `to`. Anything already there is lost, so this also requires `confirm`. |