Back to Google Docs
Connect Knoon AI with Google Docs (Google) to automate AI workflows.
Get structural elements for a specified index range in a Google Docs document.
googleDocsGetContentRange
BETA
Permissions
Optional permissions
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| documentId | file | Select the Google Docs document to read from. | Yes |
| startIndex | mustache | Document start index (inclusive) of the range to read. Uses the Docs API document index (UTF-16 code units). | Yes |
| endIndex | mustache | Document end index (exclusive) of the range to read. Must be greater than startIndex. | Yes |
Returns
| Name | Type | Description |
|---|---|---|
| status | string | DONE. |
| content | array | Array of StructuralElement objects in the requested index range, as returned by the Docs API body/tabs.body.content. |
| startIndex | number | Start index used for the range. |
| endIndex | number | End index used for the range. |
| sensitive.documentId | string | ID of the document that was read. |