Replace Text
replace_textReplace exact text in a note without overwriting its full content. Requires explicit settings for multiple occurrences.
Instructions
Replace exact text in one note without overwriting the full note. Multiple matches require all: true or an exact expectedOccurrences guard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Replace every match (default false). | |
| find | Yes | Exact text to find. | |
| path | Yes | Existing note path, title, or alias. | |
| replace | Yes | Replacement text; may be empty. | |
| expectedOccurrences | No | Abort unless this many matches exist. |