File Write New
file.write_newCreate or write text files for Minecraft server management with optional overwrite protection and safety confirmations.
Instructions
Create a text file with touch -> write, optionally refusing to overwrite existing files. Requires confirm=true or dry_run=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| daemonId | No | MCSManager daemon id. Uses MCSM_DEFAULT_DAEMON_ID if omitted. | |
| uuid | No | MCSManager instance UUID. Uses MCSM_DEFAULT_INSTANCE_UUID if omitted. | |
| target | Yes | File path. | |
| text | Yes | New file content. | |
| overwrite | No | Overwrite if the file already exists. | |
| confirm | No | Required true for high-risk operations. | |
| dry_run | No | Return a preview without executing the operation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||