write
Create, append, or prepend Markdown content in an AI knowledge vault, adding optional YAML frontmatter to files.
Instructions
Write or append to a file in the AI knowledge vault.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Write mode (default append) | |
| path | Yes | Relative path within vault | |
| content | Yes | Markdown content to write | |
| frontmatter | No | YAML frontmatter key-value pairs | |
| workspace_path | No | Absolute thread workspace directory; must map to this project. Omit only when the server cwd is the thread workspace. |