Skip to main content

Google Docs

Lets an agent list, create, read, and batch-edit Google Docs.

What it can do

  • list_documents, create_document
  • get_document — full content, optional fields mask
  • batch_update_document — arbitrary Docs API requests

document_id comes from the URL: docs.google.com/document/d/{id}/edit.

How to get credentials

Google OAuth — no token to copy.

  1. Start setup and enter the Google email.
  2. Approve the consent screen (documents, drive.metadata.readonly).

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
USER_GOOGLE_EMAILThe Google account for the documents

Troubleshooting

  • Insert at wrong location — Docs indexes are character-based and include headers; compute indexes from get_document, not visual intuition.