SuperAPI AI Directory

google-docs

Office & productivity

View repository

Updated 10-15 20:12

About this skill

Google Docs

Use Google Docs from your AI agent through ClawLink — browser login, no API key to paste, no config to edit. Connect Google Docs once and the agent can read and act on it. Works in any agent that can run shell commands (Claude Code, Cursor, Codex, Cline, and more).

Setup

Run these once — the agent can run them for you:

npx @useclawlink/cli login              # opens browser → approve (mints + stores a key)
npx @useclawlink/cli connect google-docs   # opens browser → authorize Google Docs

No API key to create or paste — login stores the credential at ~/.clawlink/credentials.json.

Using Google Docs

npx @useclawlink/cli actions google-docs "<what you want to do>"   # find an action
npx @useclawlink/cli describe google-docs <action-id>             # see its inputs (before writes)
npx @useclawlink/cli run google-docs <action-id> --input '<json>' # execute

Reads first; confirm with the user before any write.

Available actions

Action Description
googledocs_search_documents Search Google Docs documents in Drive
googledocs_get_document_by_id Get Google Docs document metadata and structure
googledocs_get_document_plaintext Get the plain text content of a Google Docs document
googledocs_export_document_as_pdf Export a Google Docs document as PDF
googledocs_create_document Create a new Google Docs document
googledocs_create_document_markdown Create a Google Docs document from Markdown
googledocs_insert_text_action Insert text at a specific position in a Google Docs document
googledocs_replace_all_text Replace matching text everywhere in a Google Docs document
googledocs_insert_page_break Insert a page break into a Google Docs document
googledocs_insert_table_action Insert a table into a Google Docs document
googledocs_insert_inline_image Insert an inline image into a Google Docs document
googledocs_update_document_markdown Update a Google Docs document from Markdown
googledocs_update_existing_document Update content in an existing Google Docs document

Notes

  • No API key for Google Docs itself — ClawLink holds the OAuth token; the agent only holds your ClawLink credential.
  • Not connected yet, or access expired? Re-run npx @useclawlink/cli connect google-docs.
  • The action list above is a snapshot; npx @useclawlink/cli actions google-docs is always current.

Resources


Powered by ClawLink — connect 1,000+ apps to any AI agent.