UNPKG

@digitalsamba/embedded-api-mcp-server

Version:

Digital Samba Embedded API MCP Server - Model Context Protocol server for Digital Samba's Embedded API

44 lines 1.47 kB
/** * Digital Samba MCP Server - Poll Management Tools * * This module implements tools for managing polls within Digital Samba sessions. * It provides MCP tools for creating, updating, deleting, and managing poll results. * * Tools provided: * - create-poll: Create a new poll in a session * - update-poll: Update an existing poll * - delete-poll: Delete a specific poll * - delete-session-polls: Delete all polls for a session * - delete-room-polls: Delete all polls for all sessions in a room * - publish-poll-results: Publish poll results to participants * * @module tools/poll-management * @author Digital Samba Team * @version 1.0.0 */ import { DigitalSambaApiClient } from "../../digital-samba-api.js"; /** * Tool definition interface */ interface ToolDefinition { name: string; description: string; inputSchema: any; } /** * Register poll management tools with the MCP SDK * * @returns {ToolDefinition[]} Array of tool definitions */ export declare function registerPollTools(): ToolDefinition[]; /** * Execute a poll management tool * * @param {string} toolName - Name of the tool to execute * @param {any} params - Tool parameters * @param {DigitalSambaApiClient} apiClient - API client instance * @returns {Promise<any>} Tool execution result */ export declare function executePollTool(toolName: string, params: any, apiClient: DigitalSambaApiClient): Promise<any>; export {}; //# sourceMappingURL=index.d.ts.map