Backup remote file
backup_fileCreates a timestamped backup of a remote file, placing it next to the original. Use it to safely preserve versions before making changes.
Instructions
Create a timestamped dotfile backup next to a remote file.
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": {
"domain": "<domain>",
"path": "<path>"
},
"name": "backup_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to the configured domain root. | |
| label | No | Backup label used in the generated filename. | |
| domain | Yes | Configured domain root to operate under. | |
| server_id | No | Server profile id. Defaults to config.defaultServer. |