files_read_outline
Return a flat list of markdown headings for a file, including level, text, line, and byte offsets. Use it as a cheap probe before reading or updating sections to avoid spending tokens on full content.
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 files_read({ id, section }) or files_update({ file_id, section, content }) 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 files_read in full or files_read({ id, lines })).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File ID |