brain_edit
Overwrite an existing note by replacing its full markdown content. Read the note first with brain_read, then pass new content or body with frontmatter.
Instructions
Overwrite a note. Pass content (full raw markdown incl. frontmatter) — read first with brain_read, then write the whole file back. Also accepts body (+ optional frontmatter) like brain_write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | markdown body (alternative to content; pair with `frontmatter`) | |
| path | Yes | vault-relative path | |
| content | No | full raw markdown incl. frontmatter | |
| overwrite | No | confirm you mean to replace an existing note with much shorter content (default false) | |
| frontmatter | No | YAML frontmatter object (with `body`) | |
| allow_conflict | No | confirm a near-duplicate of a live note is deliberate — prefer brain_supersede (default false) |