read_section
Extract the content under a specific heading from a file. Returns the section body, line number, size, and estimated tokens. Requires exact heading name.
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) |