get_section
Retrieve a specific section from a Markdown file using a dot-separated heading path. Optionally limit how many child heading levels are included.
Instructions
Return the heading line(s) and body of the section at path.
path is a dot-separated heading path, e.g. "My README.Installation.Prerequisites".
Matching is case-insensitive. Returns the raw Markdown text of the section.
depth controls how many levels of child sections are included:
None (default): return the section and all descendants
0: return the heading and its own body only (no child sections)
1: heading + own body + immediate children
2: heading + own body + children + grandchildren etc.
Raises an error string if the path does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| depth | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |