delete_section
Delete a heading and its content from a Markdown file; optionally promote child sections when excluding them from deletion.
Instructions
Delete a section from a Markdown file.
With include_children=True (default): deletes the heading, its body, and all child sections. With include_children=False: deletes only the heading and its own body; child sections are promoted. Returns "ok" on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| file_path | Yes | ||
| include_children | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |