google-docs
Google Docs
Independent, unofficial connector for Google Docs. Not affiliated with, endorsed by, or sponsored by Google Docs. "Google Docs" is a trademark of its owner, used only to identify the service this connector works with.
Tools for working with Google Docs against the Google Docs API v1 (https://docs.googleapis.com/v1/) for document content, and the Google Drive API v3 (https://www.googleapis.com/drive/v3/) for the find / export / copy-template / folder operations the Docs API doesn't provide. 22 tools: create documents (blank, from text/Markdown, or from a template), read a document's structured content and tabs, export it as text/Markdown, find documents by name, and edit content — append / insert / find-and-replace / delete text, locate text positions, apply character and paragraph formatting, make bulleted/numbered lists, insert and edit tables, create headers / footers / footnotes, insert and replace inline images, and set page/margin/background style.
When to use this
- An agent needs to create a document — blank, from initial text or Markdown, or by filling a
{{placeholder}}template, optionally in a specific Drive folder. - An agent needs to read a document — its structured content + edit indices (
getDocument), clean text/Markdown (exportDocument), or to find documents by name (findDocuments) and locate text (findText). - An agent needs to edit text — append, insert at a position, find-and-replace, or delete a range.
- An agent needs to format or restyle — apply character formatting; make bulleted or numbered lists (
createList); set paragraph style — headings, alignment, line spacing, indentation (formatParagraph); insert/replace inline images; or set page size / margins / background. - An agent needs to structure the document — insert a table and fill its cells (
insertTable), add/remove table rows or columns (modifyTable), create a header or footer with its text (createHeader/createFooter) and style it by passing the returnedsegmentIdtoformatText, or add a footnote (createFootnote) and write its body viainsertTexttargeting the returnedsegmentId.
Setup
This is an agentskills.io skill.
If the connector has not been installed as a skill yet, install it first with npx skills add zapier/connectors --skill google-docs (or your harness's own skill-install mechanism), then continue here. Installing the skill copies these files, not dependencies. Before running the CLI, a local MCP server, or zapier-sdk auth commands, run npm install --omit=dev here once. Importing the published package as a dependency in your own project instead? That npm install already resolves everything — see references/use-as-sdk.md.