read_document
Read a Google Doc by URL or ID, retrieving content as markdown or plain text in bounded chunks. Supports multi-tab documents, outlines, and optional colored text spans.
Instructions
Read a Google Doc (item = URL or ID) as 'markdown' (default) or 'text', one bounded chunk at a time.
Multi-tab docs: by default every tab is read (each prefixed with its title as a heading);
pass a `tab` id, or an `item` URL containing `tab=t.xxxx`, to read only that tab. Returns the
requested chunk (0-based) plus title, the doc's `tabs`, the outline, and paging metadata
(total_chunks, total_chars, has_more). Set max_chars<=0 to get the whole document. Set
include_colors=true to also return `colored_runs` (text spans with an explicit foreground color).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | ||
| item | Yes | ||
| chunk | No | ||
| max_chars | No | ||
| output_format | No | markdown | |
| include_colors | No |