Googleapis Docs
Googleapis Docs is a connector for the Google Docs API, used to create, read, and edit Google Docs documents programmatically.
- Base URL:
https://docs.googleapis.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
docs_documents_get— GET /v1/documents/{documentId} — Gets the latest version of the specified document.docs_documents_create— POST /v1/documents — Creates a blank document using the title given in the request. Other fields in tdocs_documents_batchupdate— POST /v1/documents/{documentId}:batchUpdate — Applies one or more updates to the document. Each request is validated before be
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: docs_documents_get
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: docs_documents_get, docs_documents_create, docs_documents_batchupdate |
documentId |
string | no | — | Path parameter documentId (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |