rename_file
Rename or move a server file to a new path when the existing path should change; this updates filesystem state and requires file-write permission.
Instructions
Rename or move a server file to a new path. Use only when the existing path should change; this mutates filesystem state and requires WISP_ALLOW_FILE_WRITES.
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": {
"path": "<path>",
"to": "<to>"
},
"name": "rename_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination path or new name in the selected server filesystem. | |
| path | Yes | Path in the selected server filesystem, starting from its root. | |
| server_id | No | Wisp server ID. Omit to use the configured WISP_SERVER_ID default. |