Open Connector
所有 Tools

Google Docs

Catalog 暂无描述。

google-docsv1.0.03 个 Tools

认证方式

方式底层类型状态说明
OAuth 2.0oauth2available

调用示例

import { createClient } from "@open-connector/sdk";const oc = createClient({  baseUrl: "https://api.openconnector.dev",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({  slug: "GOOGLE_DOCS_DOCUMENTS_BATCH_UPDATE",  connectedAccountId: "conn_...",  arguments: { /* match this tool's input schema */ },});
import Composio from "@composio/client";const composio = new Composio({  baseURL: "https://api.openconnector.dev/composio",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("GOOGLE_DOCS_DOCUMENTS_BATCH_UPDATE", {  connected_account_id: "conn_...",  arguments: { /* match this tool's input schema */ },});
oc tools execute GOOGLE_DOCS_DOCUMENTS_BATCH_UPDATE --data '{ }'

Tool 目录

可用 Tools

3 个可调用操作

Docs Documents BatchUpdateGOOGLE_DOCS_DOCUMENTS_BATCH_UPDATEApplies one or more updates to the document. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests. For example, suppose you call batchUpdate with four updates, and only the third one returns information. The response would have two empty replies, the reply to the third request, and another empty reply, in that order. Because other users may be editing the document, the document might not exactly reflect your changes: your changes may be altered with respect to collaborator changes. If there are no collaborators, the document should reflect your changes. In any case, the updates in your request are guaranteed to be applied together atomically.

Applies one or more updates to the document. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests. For example, suppose you call batchUpdate with four updates, and only the third one returns information. The response would have two empty replies, the reply to the third request, and another empty reply, in that order. Because other users may be editing the document, the document might not exactly reflect your changes: your changes may be altered with respect to collaborator changes. If there are no collaborators, the document should reflect your changes. In any case, the updates in your request are guaranteed to be applied together atomically.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/documentshttps://www.googleapis.com/auth/drivehttps://www.googleapis.com/auth/drive.file

Tags

documents
Docs Documents CreateGOOGLE_DOCS_DOCUMENTS_CREATECreates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document.

Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/documentshttps://www.googleapis.com/auth/drivehttps://www.googleapis.com/auth/drive.file

Tags

documents
Docs Documents GetGOOGLE_DOCS_DOCUMENTS_GETGets the latest version of the specified document.

Gets the latest version of the specified document.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/documentshttps://www.googleapis.com/auth/documents.readonlyhttps://www.googleapis.com/auth/drivehttps://www.googleapis.com/auth/drive.filehttps://www.googleapis.com/auth/drive.readonly

Tags

documents