gdocs_documents_get
Retrieve a Google Doc's full structural content by document ID. Set includeTabsContent=true to read every tab when the default only returns the first.
Instructions
Read a document's full structural content. The document ID is the long string in its URL, between '/d/' and '/edit'. Pass include_tabs_content=true for a document with several tabs, since the default response covers only the first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | The ID of the document to retrieve. This is the long string in the document's URL, between `/d/` and `/edit`. | |
| includeTabsContent | No | When true, content is returned in the `tabs` field, covering every tab in the document. When false or omitted, only the first tab's content is returned, in the legacy top-level `body` field. | |
| suggestionsViewMode | No | How to render suggested edits. Defaults to DEFAULT_FOR_CURRENT_ACCESS, which shows suggestions inline if the caller may see them. |