write_note
Create or append to markdown notes in a wiki vault without overwriting existing content. Use dry_run mode to preview changes before writing, while immutable source files stay protected.
Instructions
Gated write: 'create' a new .md note or 'append' to an existing one.
Never overwrites, never deletes, and never writes into immutable source directories (raw/). Set dry_run=true to preview without touching disk.
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>",
"mode": "<mode>"
},
"name": "write_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| path | Yes | ||
| content | Yes | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| path | Yes | ||
| dry_run | Yes | ||
| message | Yes | ||
| bytes_written | Yes |