All tools

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

FieldTypeDescription
titlestringTitle of the NEW document (omit when writing into an existing one).
documentstringExisting document id or URL.
contentstringText to write (light markdown). New document: the body. Existing: appended at the end.
replacementsarrayFind/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":[]} })