Google Docs

liveSaaSProductivity

Read, create, and edit Google Docs via OAuth.

6tools
0msauth
free tier50 calls/day

Tools

docs_get

Retrieve a Google Doc by ID. Returns title, formatted body content, and document structure.

No parameters required.

▶Try it
docs_get_text

Extract plain text from a Google Doc without formatting or structure. Use when you need raw text content only.

No parameters required.

▶Try it
docs_create

Create a new Google Doc with a title. Returns the document ID needed for editing operations.

No parameters required.

▶Try it
docs_insert_text

Insert text at a specific position in a Google Doc (e.g., position 0 for start, position 50 for middle).

No parameters required.

▶Try it
docs_append_text

Add text to the end of a Google Doc. Use when insertion position doesn't matter.

No parameters required.

▶Try it
docs_replace_text

Find and replace all occurrences of text in a Google Doc with new text.

No parameters required.

▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/google_docs/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/google_docs/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"docs_get","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("docs_get", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("read, create, and edit google docs via oauth");