remove_meeting_bot
Remove a bot from a meeting by specifying its ID, ensuring only relevant participants remain in the session for improved focus and efficiency.
Instructions
Remove a bot from a meeting
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot_id | Yes | ID of the bot to remove |
Implementation Reference
- src/index.ts:508-525 (handler)The main handler function `removeMeetingBot` that executes the tool logic: validates input, calls the API to make the bot leave the meeting, and returns a formatted response with updated status.private async removeMeetingBot(args: Record<string, unknown>) { const bot_id = args.bot_id as string; if (!bot_id || typeof bot_id !== 'string') { throw new Error("Missing or invalid required parameter: bot_id"); } const data = await this.makeApiRequest(`/api/v1/bots/${bot_id}/leave`, "POST", {}); return { content: [ { type: "text", text: `✅ Successfully requested bot ${bot_id} to leave the meeting.\n\n📊 Updated Status:\n${this.formatBotStatus(data)}`, }, ], }; }
- src/index.ts:255-264 (schema)Input schema for the remove_meeting_bot tool, defining the required 'bot_id' string parameter.inputSchema: { type: "object", properties: { bot_id: { type: "string", description: "ID of the bot to remove", }, }, required: ["bot_id"], },
- src/index.ts:252-264 (registration)Tool registration in the ListTools response, defining name, description, and schema for remove_meeting_bot.{ name: "remove_meeting_bot", description: "Remove a bot from a meeting", inputSchema: { type: "object", properties: { bot_id: { type: "string", description: "ID of the bot to remove", }, }, required: ["bot_id"], },
- src/index.ts:407-408 (registration)Switch case in CallToolRequestSchema handler that dispatches to the removeMeetingBot handler.case "remove_meeting_bot": return await this.removeMeetingBot(args);