get-gmail-settings
Retrieve Gmail settings for integration with the Meme MCP Server, enabling seamless AI-driven meme generation using the ImgFlip API.
Instructions
Get Gmail settings
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.ts:648-683 (handler)Inline handler and registration for the 'get-gmail-settings' tool. Retrieves Gmail settings by executing the 'GMAIL_GET_SETTINGS' action using the VercelAIToolSet (Composio integration). No input schema defined (empty object). Returns formatted settings or error message.server.tool("get-gmail-settings", "Get Gmail settings", {}, async (args, extra) => { try { const userAddress = "default-user"; const result = await toolset.executeAction({ action: "GMAIL_GET_SETTINGS", entityId: userAddress, params: {} }); if (result.successful) { const settings = result.data?.response_data as any; return { content: [{ type: "text", text: `⚙️ Gmail Settings:\n\n${JSON.stringify(settings, null, 2)}` }], }; } else { return { content: [{ type: "text", text: `❌ Failed to get Gmail settings: ${result.error || 'Unknown error'}` }], }; } } catch (error) { console.error('Error getting Gmail settings:', error); return { content: [{ type: "text", text: `Error getting Gmail settings: ${error instanceof Error ? error.message : String(error)}` }], }; } });