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.
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. |