Write file
write_fileSave notes, drafts, summaries, or documents by creating or overwriting files. Automatically creates parent folders for any destination path.
Instructions
Creates or overwrites a file in the file store. Parent folders are created automatically. Use this to save notes, drafts, summaries, or generated documents.
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 | Destination file path, e.g. notes/idea.md | |
| content | Yes | Full content to write to the file |