write_file
Create or fully overwrite a UTF-8 text file on a WISP game server filesystem; use for deliberate full replacements, not concurrent edits.
Instructions
Create or fully overwrite a text file. Use for new files or deliberate full replacement; it mutates filesystem state, requires WISP_ALLOW_FILE_WRITES, and does not protect against concurrent edits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path in the selected server filesystem, starting from its root. | |
| content | Yes | Complete UTF-8 text content to create or overwrite. | |
| server_id | No | Wisp server ID. Omit to use the configured WISP_SERVER_ID default. |