edit_note
Correct existing notes by replacing an exact string with new text, preserving all unspecified content. Works in any file section, including frontmatter.
Instructions
Surgically correct an existing note by exact string replacement.
old_text must occur exactly once in the note's current text — read_note first and copy the passage verbatim, adding surrounding lines if it is not unique. Works anywhere in the file, frontmatter included. Prefer this over update_note for corrections: it cannot drop text you did not quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_text | Yes | ||
| old_text | Yes | ||
| name_or_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||