update_elevenlabs_token
Authenticate by updating the API key for ElevenLabs integration in the VoiceAI-MCP-VAVicky server to enable Voice AI functionalities.
Instructions
Update Elevenlabs API Key
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elevenlabs_token | Yes | Elevenlabs API Key |
Implementation Reference
- index.js:523-527 (handler)Handler implementation for the 'update_elevenlabs_token' tool. Sets up a POST request to the backend API at '/elevenlabs/oauth' with the 'elevenlabs_token' from arguments in the request body.case 'update_elevenlabs_token': url = `${this.baseUrl}/elevenlabs/oauth`; method = 'POST'; body = { elevenlabs_token: args.elevenlabs_token }; break;
- index.js:90-100 (registration)Tool registration in the ListToolsRequestSchema handler, including name, description, and input schema for validating the 'elevenlabs_token' parameter.{ name: 'update_elevenlabs_token', description: 'Update Elevenlabs API Key', inputSchema: { type: 'object', properties: { elevenlabs_token: { type: 'string', description: 'Elevenlabs API Key' } }, required: ['elevenlabs_token'] } },
- index.js:93-99 (schema)Input schema definition for the 'update_elevenlabs_token' tool, specifying the required 'elevenlabs_token' string parameter.inputSchema: { type: 'object', properties: { elevenlabs_token: { type: 'string', description: 'Elevenlabs API Key' } }, required: ['elevenlabs_token'] }