Copy a file
files_copyCopy a file or directory to create a duplicate next to the original, useful for backups or before edits.
Instructions
Copy a file or directory. The copy is placed next to the original.
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": {
"server": "<server>",
"location": "<location>"
},
"name": "files_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| panel | No | Name of a saved panel. Omit to use the active or default panel. | |
| server | Yes | ||
| baseUrl | No | Inline panel URL override, e.g. https://panel.example.com. Not persisted. | |
| location | Yes | Absolute path of the file to copy. | |
| clientKey | No | Inline client API key (ptlc_…) override. Not persisted. | |
| applicationKey | No | Inline application API key (ptla_…) override. Not persisted. |