document_outline
Map a PDF, DOCX, Markdown, or TXT file's structure to decide what to read: unit counts, headings, tables, text-layer status, and unreadable units.
Instructions
The structural map of a PDF/DOCX/MD/TXT in a few hundred characters: unit kind and count (pages, lines or paragraphs), headings from the file's own markup or PDF bookmarks (never inferred), tables, per-page text-layer status, unreadable units. Use it to decide what to read. [docbridge schema 0.2.4]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encoding | No | Text encoding of a .md/.txt input. Omit for UTF-8; docbridge never guesses. | |
| max_items | No | ||
| input_path | Yes | Absolute file path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| error | No | ||
| source | No | ||
| outline | No | ||
| invariant | No | docbridge may reduce the volume of its own responses, but it never alters, summarizes, paraphrases, semantically filters, or silently truncates source evidence | |
| schema_version | Yes | ||
| operation_completed | Yes |