返回 Google Docs

将 Knoon AI 与 Google Docs (Google) 连接以自动化 AI 工作流。

Get structural elements for a specified index range in a Google Docs document.
googleDocsGetContentRange
测试版
权限
  • https://www.googleapis.com/auth/drive.file
可选权限
  • https://www.googleapis.com/auth/drive
参数
名称类型描述必填
documentIdfile Select the Google Docs document to read from.是的
startIndexmustache Document start index (inclusive) of the range to read. Uses the Docs API document index (UTF-16 code units).是的
endIndexmustache Document end index (exclusive) of the range to read. Must be greater than startIndex.是的
回报
名称类型描述
statusstring DONE.
contentarray Array of StructuralElement objects in the requested index range, as returned by the Docs API body/tabs.body.content.
startIndexnumber Start index used for the range.
endIndexnumber End index used for the range.
sensitive.documentIdstring ID of the document that was read.