read_file_outline
Get a flat list of markdown headings from a file to quickly preview its section structure before reading or editing sections, reducing token usage.
Instructions
Return a flat list of markdown headings for one file (level, text, line, byteStart, byteEnd). Read-only; no side effects, auth, or rate limits. Use as a cheap probe before read_section or update_file_section so you don't spend tokens on the full body just to learn what sections exist. Empty outline means the file has no markdown headings (it may still have content — fall back to read_file or read_file_lines).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File ID |