Files & calendar · gdocs_write
Create or edit a Google Doc
Create a Google Docs document, append text or replace passages.
- Price
- included
- Requirements
- Google Drive
- set it up in Settings → Integrations
- Human approval
- Yes, by default
- outside-facing write: a human validates
- Reliability
- Verified
- not measured yet
Input
| Field | Type | Description |
|---|---|---|
| title | string | Title of the NEW document (omit when writing into an existing one). |
| document | string | Existing document id or URL. |
| content | string | Text to write (light markdown). New document: the body. Existing: appended at the end. |
| replacements | array | Find/replace pairs applied to every occurrence in the existing document. |
Call this tool
Through the HTTP API, or from the MCP server with the run meta-tool.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"gdocs_write","input":{"title":"…","document":"…","content":"…","replacements":[]}}'$
run({ "tool": "gdocs_write", "input": {"title":"…","document":"…","content":"…","replacements":[]} })