read_document
Analyze Google Docs structure to identify headings, sections, tables, and named ranges before editing, ensuring precise targeting of document elements.
Instructions
See what the document contains before you edit it.
Returns the document's structural map — headings with hierarchy, named
ranges with boundaries, tables with dimensions, inline objects, and
section boundaries. Without this, you're editing blind: you don't know
what headings exist, where sections start, or what named ranges are
available for targeting.
**Call this before edit_document.** The structural map shows what
addresses are available (heading names, named range names) so your edit
operations target the right locations.
Args:
document_id: The Google Docs document ID (from the URL).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes |