write_file
Create, overwrite, or append UTF-8 content to a local text file at an absolute path, with missing parent directories created automatically.
Instructions
Create, overwrite, or append to a local text file (creates parent directories automatically).
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": {
"filePath": "<filePath>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| append | No | ||
| content | Yes | UTF-8 content to write | |
| filePath | Yes | Absolute file path |