docs_create
Pack: google_docs · Endpoint: https://gateway.pipeworx.io/google_docs/mcp
Create a new Google Doc with a title. Returns the document ID needed for editing operations.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
title | string | yes | Title for the new document |
Example call
Arguments
{
"title": "Project Proposal"
}
curl
curl -X POST https://gateway.pipeworx.io/google_docs/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"docs_create","arguments":{"title":"Project Proposal"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('docs_create', {
"title": "Project Proposal"
});
More examples
{
"title": "Meeting Notes - Q4 2024"
}
Response shape
| Field | Type | Description |
|---|---|---|
documentId | string | ID of the newly created document |
title | string | Title of the created document |
body | object | Document body structure |
error | string | Error code if connection failed |
message | string | Error message if connection failed |
Full JSON Schema
{
"type": "object",
"description": "Response from creating a new Google Doc",
"properties": {
"documentId": {
"type": "string",
"description": "ID of the newly created document"
},
"title": {
"type": "string",
"description": "Title of the created document"
},
"body": {
"type": "object",
"description": "Document body structure"
},
"error": {
"type": "string",
"description": "Error code if connection failed"
},
"message": {
"type": "string",
"description": "Error message if connection failed"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"google_docs": {
"url": "https://gateway.pipeworx.io/google_docs/mcp"
}
}
}
See Getting Started for client-specific install steps.