GET
gdocs_documents_get.py
Requires
https://www.googleapis.com/auth/documents. Costs 1 against the provider’s own quota.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
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.
from charter.packs import gdocs
result = await gdocs.documents_get.ainvoke({"documentId": ...})
https://www.googleapis.com/auth/documents. Costs 1 against the provider’s own quota.| Field | Type | Description |
|---|---|---|
documentId * | string | The ID of the document to retrieve. This is the long string in the document’s URL, between /d/ and /edit. |
| Field | Type | Description |
|---|---|---|
suggestionsViewMode | SuggestionsViewMode | How to render suggested edits. Defaults to DEFAULT_FOR_CURRENT_ACCESS, which shows suggestions inline if the caller may see them. |
includeTabsContent | boolean | 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. |
Was this page helpful?