patch_note
Insert or replace Markdown content relative to a heading to update specific sections of an Obsidian note without rewriting the full file.
Instructions
Insert or replace content relative to a heading in a note. Useful for updating specific sections.
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": {
"path": "<path>",
"content": "<content>"
},
"name": "patch_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the note | |
| content | Yes | Markdown content to insert | |
| heading | No | Target heading to insert content under | |
| insertPosition | No | Where to insert relative to the heading: 'beginning' or 'end' | |
| headingBoundary | No | Heading level that marks the end of the target section (e.g. '##') |