read_section
Retrieve the body of a specific heading from a file, excluding the heading line. Returns section text, level, line number, size, and estimated tokens. Uses case-insensitive exact match.
Instructions
Return the body of ONE heading (the heading line itself is excluded) plus level, line, size_bytes, and est_tokens. Heading match is case-insensitive but exact-string after trim — fuzzy / partial matches do NOT resolve. Returns isError if the heading is absent. Read-only; no side effects, auth, or rate limits. Pair with read_file_outline when you are unsure which headings exist; for non-heading line ranges use read_file_lines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File ID | |
| heading | Yes | Heading text to extract (case-insensitive) |