Write text file
fs_write_textWrite or replace UTF-8 text files with scoped paths and optional transaction validation for compile-safe changes.
Instructions
Create or replace a UTF-8 text file. main.cs requires fs_transaction with a compile validation command. Accepts absolute paths when RACCOON_FILESYSTEM_UNRESTRICTED=1; relative paths start at RACCOON_ROOT.
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": {
"file": "<file>",
"content": "<content>"
},
"name": "fs_write_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| content | Yes | ||
| deviceId | No | ||
| deviceName | No |