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.
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 |