send_image_to_meeting
Display an image in Google Meet by sending its HTTPS URL through a specified bot. Facilitates visual communication during meetings using the Attendee MCP Server.
Instructions
Send an image to the meeting through the bot (Google Meet only)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot_id | Yes | ID of the bot that should display the image | |
| image_url | Yes | HTTPS URL of the image to display |
Implementation Reference
- src/index.ts:704-732 (handler)Executes the tool logic: validates bot_id and image_url, ensures HTTPS, POSTs to API /api/v1/bots/{bot_id}/output_image, returns success message.private async sendImageToMeeting(args: Record<string, unknown>) { const bot_id = args.bot_id as string; const image_url = args.image_url as string; if (!bot_id || typeof bot_id !== 'string') { throw new Error("Missing or invalid required parameter: bot_id"); } if (!image_url || typeof image_url !== 'string') { throw new Error("Missing or invalid required parameter: image_url"); } if (!image_url.startsWith('https://')) { throw new Error("Image URL must start with https://"); } await this.makeApiRequest(`/api/v1/bots/${bot_id}/output_image`, "POST", { url: image_url }); return { content: [ { type: "text", text: `✅ Image sent to meeting from bot ${bot_id}\n📷 Image URL: ${image_url}\n\n💡 The image should now be displayed in the meeting (Google Meet only)!`, }, ], }; }
- src/index.ts:352-365 (schema)Input schema defining parameters: bot_id (string, required), image_url (string, required).inputSchema: { type: "object", properties: { bot_id: { type: "string", description: "ID of the bot that should display the image", }, image_url: { type: "string", description: "HTTPS URL of the image to display", }, }, required: ["bot_id", "image_url"], },
- src/index.ts:349-366 (registration)Tool registration in ListToolsRequestSchema response, including name, description, and schema.{ name: "send_image_to_meeting", description: "Send an image to the meeting through the bot (Google Meet only)", inputSchema: { type: "object", properties: { bot_id: { type: "string", description: "ID of the bot that should display the image", }, image_url: { type: "string", description: "HTTPS URL of the image to display", }, }, required: ["bot_id", "image_url"], }, },
- src/index.ts:434-435 (registration)Dispatch registration in CallToolRequestSchema switch statement.case "send_image_to_meeting": return await this.sendImageToMeeting(args);