docs_append_text
Pack: google_docs · Endpoint: https://gateway.pipeworx.io/google_docs/mcp
Add text to the end of a Google Doc. Use when insertion position doesn’t matter.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
document_id | string | yes | Document ID |
text | string | yes | Text to append |
Example call
Arguments
{
"document_id": "1BxiMVs0XRA5nFMKUVfGo6Q6XcYBCy_N1LCcFrZkZecc",
"text": "\n\nNext steps: Review and approve by end of week."
}
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_append_text","arguments":{"document_id":"1BxiMVs0XRA5nFMKUVfGo6Q6XcYBCy_N1LCcFrZkZecc","text":"\n\nNext steps: Review and approve by end of week."}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('docs_append_text', {
"document_id": "1BxiMVs0XRA5nFMKUVfGo6Q6XcYBCy_N1LCcFrZkZecc",
"text": "\n\nNext steps: Review and approve by end of week."
});
Response shape
| Field | Type | Description |
|---|---|---|
documentId | string | Document ID |
replies | array | Results of batch update requests |
error | string | Error code if connection failed |
message | string | Error message if connection failed |
Full JSON Schema
{
"type": "object",
"description": "Response from appending text to end of document",
"properties": {
"documentId": {
"type": "string",
"description": "Document ID"
},
"replies": {
"type": "array",
"description": "Results of batch update requests"
},
"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.