UNPKG

@chinchillaenterprises/mcp-ai-assistant

Version:

MCP server for AI assistant with ElevenLabs text-to-speech integration

28 lines 990 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.removeAccountTool = void 0; const zod_1 = require("zod"); const account_state_js_1 = require("../../services/account-state.js"); const inputSchema = zod_1.z.object({ name: zod_1.z.string().describe('Account name to remove') }); exports.removeAccountTool = { name: 'elevenlabs_remove_account', description: 'Remove an ElevenLabs account', inputSchema, handler: async (args) => { const accountState = new account_state_js_1.AccountState(); await accountState.initialize(); await accountState.removeAccount(args.name); return { content: [{ type: 'text', text: JSON.stringify({ success: true, message: `Account "${args.name}" has been removed` }, null, 2) }] }; } }; //# sourceMappingURL=remove-account.js.map