docs_read
Read a Google Doc as markdown, text, HTML, or a structured outline for planning edits. Page long documents with offset and maxChars to retrieve content in parts.
Instructions
Read a Google Doc: markdown (default), text, html, or "structure" — an outline of titles, headings/sections, list items, tables with cells and placeholders, for planning edits. Long documents are paged with offset/maxChars.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Google Docs URL or document id. | |
| format | No | Default markdown. "structure" = outline for targeting edits (headings/sections, lists, tables, placeholders). | |
| offset | No | Character offset to start from, for paging. Default 0. | |
| account | No | Which signed-in Google account to use: an index as in /u/N/ URLs (0 = first account) or an email address. Omit for the browser default. Use this for documents owned by a second (e.g. school) account. | |
| maxChars | No | Default 40000. |