fs_write
Create or overwrite text files at a given path, auto-creating missing directories but only within the safe allowed root.
Instructions
Write (creating or overwriting) a text file. Parent directories are created as needed, but only within FSGUARD_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": {
"path": "<path>",
"content": "<content>"
},
"name": "fs_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes |