patch-note
Update a note's body by replacing an exact substring with new text, enabling partial edits without full content replacement.
Instructions
Update the body of the existing note by performing an exact string replacement. Use this tool to make partial updates to the note body without replacing the entire content. You must first read the note with read-note to get the current body, then specify the exact substring to replace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _id | Yes | The unique document ID which should start with `note:` and the remains are randomly generated string | |
| _rev | Yes | This is a CouchDB specific field. The current MVCC-token/revision of this document (mandatory and immutable). | |
| new_string | Yes | The text to replace `old_string` with. Use an empty string to delete the matched text. | |
| old_string | Yes | The exact text to find in the note body. Must match exactly one occurrence. Include enough surrounding context to ensure a unique match. |