Documentation Index
Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt
Use this file to discover all available pages before exploring further.
GDocsResource exposes Google Docs as .gdoc.json files. Reads return the document’s structured content; writes update the doc in place via the Google Docs API.
Setup steps for OAuth credentials live at Google Workspace Credentials.
Node
Browser
examples/typescript/browser/src/gdocs_pkce.ts.
Config
| Field | Default | Notes |
|---|---|---|
clientId | required | Google OAuth client ID. |
clientSecret | required | Google OAuth client secret. Redacted in snapshots. |
refreshToken | required | User’s refresh token. Redacted in snapshots. |
refreshFn | built-in | Optional override for the access-token refresh callback. |
Mount mode
read, partial write (text replacements via the Docs API).
For the JSON shape and supported edits see the Python Google Docs docs.