Patch Section
patch_sectionReplace content under a specific heading in an Obsidian note, keeping the heading and other sections intact.
Instructions
Replace the content under one heading, preserving the heading and the rest of the note.
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>",
"heading": "<heading>",
"content": "<content>"
},
"name": "patch_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Existing note path, title, or alias. | |
| content | Yes | New Markdown section content. | |
| heading | Yes | Heading text, without # markers. |