Insert content at a heading or block
patch_noteInsert content into an Obsidian note at a specific heading, block, or frontmatter field without rewriting the entire note. Ideal for appending items under a heading or updating frontmatter.
Instructions
Insert content relative to a heading, block reference, or frontmatter field — without rewriting the whole note. Example: append a bullet under '## Tasks' without touching the rest of the page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| operation | Yes | How to insert relative to the target. | |
| target_type | Yes | What kind of anchor `target` refers to. | |
| target | Yes | Heading text (e.g. 'Tasks'), block id (e.g. 'block-id'), or frontmatter key (e.g. 'tags'). |