apply_note_update
Apply a confirmed update to a note by verifying its hash, preventing accidental overwrites. Requires user confirmation and the hash of the reviewed version.
Instructions
Apply a confirmed note update. Requires confirmed=true and expected_hash to prevent accidental overwrites.
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>",
"expected_hash": "<expected_hash>",
"new_content": "<new_content>",
"confirmed": "<confirmed>"
},
"name": "apply_note_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative .md path inside the vault | |
| backup | No | Create a backup under 00_Meta/AI-System/backups (default true) | |
| confirmed | Yes | Must be true after user confirmation | |
| new_content | Yes | New markdown body without YAML frontmatter | |
| expected_hash | Yes | Hash of the version the user reviewed |