patch_file
Replace old_text with new_text in an existing note. old_text is copied exactly from read_file and must occur once (add context, or replace_all: true). Empty new_text deletes it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| new_text | Yes | ||
| old_text | Yes | ||
| workspace | No | Usually OMIT: the path finds its brain. Pass it only when a reply asks (new or ambiguous branch), with the brain the user named (if unclear ASK): id, 'mine', or owner name/email. A brain where the branch does not exist is refused. | |
| replace_all | No |