heading.replace_body
Replace the body text under a heading in an Obsidian note, using a section hash to prevent edit conflicts. Errors if heading is missing or ambiguous.
Instructions
Replace the BODY beneath a heading (not the heading line itself). Errors if heading missing or path is ambiguous. Requires expected_section_hash from heading.find/outline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| vault | No | ||
| content | Yes | ||
| dry_run | No | ||
| heading | Yes | ||
| delimiter | No | ||
| expected_section_hash | Yes |