Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.archal.ai/llms.txt

Use this file to discover all available pages before exploring further.

Twin ID: google-workspace Covers Gmail, Google Calendar, Google Drive, Google Sheets, and Google Contacts. Error responses match the Google APIs format.

MCP tools

Gmail

ToolDescription
gmail_search_messagesSearch messages by query (same syntax as Gmail search)
gmail_get_messageGet a single message by ID
gmail_get_threadGet a conversation thread
gmail_list_threadsList threads in a mailbox
gmail_get_profileGet the authenticated user’s email profile

Calendar

ToolDescription
calendar_list_calendarsList all calendars
calendar_list_eventsList events in a calendar
calendar_get_eventGet a single event
calendar_get_free_busyCheck free/busy status for a time range

REST API coverage

The twin also handles REST API calls to the Google API domains. High-fidelity runs use a controlled runtime that maps real Google service domains through Archal TLS interception, so HTTP calls to these domains are redirected to the twin without harness code changes.
  • gmail.googleapis.com — read, send, draft, label, trash, modify
  • calendar.googleapis.com — list, create, update, delete events
  • drive.googleapis.com — list, read, search files
  • sheets.googleapis.com — read and update spreadsheets
  • people.googleapis.com — contacts
  • oauth2.googleapis.com/token — OAuth refresh. The twin accepts any client_id / refresh_token pair and returns a synthetic access token bound to the seed’s primary account, so harnesses holding real-Google OAuth credentials boot without needing a twin-issued token.
The REST surface covers more operations than the MCP tools above. If your agent uses the Google client libraries directly, the proxy routes them to the twin so it can send emails, create drafts, manage labels, create calendar events, read Drive files, and update spreadsheets through the REST endpoints. Interception depends on a controlled runtime that maps Google service domains to Archal and trusts the Archal CA. See Route-mode trust and safety for runtime compatibility and troubleshooting.

Seeds

SeedDescription
emptyClean account
assistant-baselineInbox with a few emails and calendar events
gmail-busy-inboxMany emails across categories
calendar-packed-weekBusy calendar for scheduling tests
calendar-conflict-resolutionOverlapping events for conflict-handling tests
draft-send-cleanupDrafts and sent items
email-to-ticket-pipelineEmails that map to external tickets
multi-account-baselineMultiple account setup