rename_file
Rename or move a file by providing absolute source and destination paths.
Instructions
Rename or move a file. In safe mode, both source and destination must be in /tmp or /var/tmp.
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": {
"source": "<source>",
"destination": "<destination>"
},
"name": "rename_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server alias (e.g., 'pi1', 'web-server'). Uses default server if not specified. | |
| source | Yes | Absolute path to the source file | |
| destination | Yes | Absolute path to the new location/name |