append_note
Append text to a note, creating it if missing, with an atomic write. Verify the note's SHA-256 to block stale appends and refresh its updated date.
Instructions
Append text to a note (created if missing) via an atomic write. Optionally pass expected_sha256 to prevent appending to a changed note. Refreshes the frontmatter updated: date (inserted when a frontmatter block exists without one).
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": {
"vault": "<vault>",
"path": "<path>",
"text": "<text>"
},
"name": "append_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Vault-root-relative note path | |
| text | Yes | Text to append | |
| vault | Yes | Vault name | |
| expected_sha256 | No | SHA-256 from a prior read/write; rejects stale appends |