Documentation
README
Google Workspace -- Tool Router
Execution Mode
Detect which mode is available and use it.
MCP (preferred)
If MCP tools from the google-workspace server are available, call them directly. The tool names in the tables below are the base names -- prefix with the server name as needed (e.g. google-workspace:search_gmail_messages).
CLI (no MCP)
If no MCP tools are available, execute via bash:
uvx workspace-mcp --cli <tool_name> --args '{"user_google_email": "USER_EMAIL", ...}'
Before calling a tool, read the relevant reference file for exact parameter names and types. Only use parameters documented there -- do not invent parameters.
First-Time Setup
If a tool call fails with a credential error, walk the user through this setup.
This is the opening of the README. Read the full README on GitHub.