boj_comms_gmail
Perform Gmail operations including sending, reading, searching emails, and managing labels through the BoJ-server MCP platform.
Instructions
Gmail operations — send, read, search emails, manage labels
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Gmail operation | |
| oauth_token | No | OAuth2 token (for authenticate) | |
| params | No | Operation parameters (to, subject, body for send; query for search; message_id for read) |
Implementation Reference
- mcp-bridge/main.js:678-683 (handler)The handler for 'boj_comms_gmail' routes to 'invokeCartridge' with the 'comms-mcp' cartridge.
case "boj_comms_gmail": case "boj_comms_calendar": { const result = await invokeCartridge("comms-mcp", { provider: toolName.replace("boj_comms_", ""), ...args }); sendResult(id, { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }); break; } - mcp-bridge/main.js:403-415 (schema)The tool definition for 'boj_comms_gmail' including its input schema and description.
tools.push({ name: "boj_comms_gmail", description: "Gmail operations — send, read, search emails, manage labels", inputSchema: { type: "object", properties: { operation: { type: "string", enum: ["authenticate", "send", "read", "search", "labels"], description: "Gmail operation" }, oauth_token: { type: "string", description: "OAuth2 token (for authenticate)" }, params: { type: "object", description: "Operation parameters (to, subject, body for send; query for search; message_id for read)" }, }, required: ["operation"], }, });