Edit part of a hand-written note
brain_editModify part of an existing note by replacing exact text, swapping a section's content, or appending markdown, without rewriting the whole file.
Instructions
Change part of a note under Notes/ or Captures/ without rewriting it. Give exactly one of: old_text + new_text (old_text must occur exactly once; new_text may be empty), section + content (replaces everything under that heading up to the next heading of the same or higher level; the heading itself stays), or append. Generated notes and the memory file cannot be edited. The reply lists existing notes the new text names without linking.
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": {
"note": "<note>"
},
"name": "brain_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | Note id (vault path), title or [[wikilink]] | |
| append | No | Markdown to add at the end of the note | |
| content | No | New text for that section | |
| section | No | Heading text of the section to replace, without the # marks | |
| new_text | No | ||
| old_text | No | Exact text to replace; must occur exactly once |