write_file
Writes content to a sandboxed file in your home directory, creating parent directories automatically.
Instructions
Write content to a file (sandboxed to home directory). Creates parent directories if needed.
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": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path (absolute or ~/relative) | |
| content | Yes | Full file content to write |