get_voice
Retrieve detailed information about a specific ElevenLabs voice using its unique voice ID for text-to-speech applications.
Instructions
Get details of a specific voice
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voice_id | Yes |
Implementation Reference
- elevenlabs_mcp/server.py:433-443 (handler)The handler function for the 'get_voice' tool. Decorated with @mcp.tool for registration. Fetches voice details via ElevenLabs client API and returns a structured McpVoice object.@mcp.tool(description="Get details of a specific voice") def get_voice(voice_id: str) -> McpVoice: """Get details of a specific voice.""" response = client.voices.get(voice_id=voice_id) return McpVoice( id=response.voice_id, name=response.name, category=response.category, fine_tuning_status=response.fine_tuning.state, )
- elevenlabs_mcp/model.py:5-9 (schema)Pydantic BaseModel defining the output schema for the get_voice tool, including voice id, name, category, and fine_tuning_status.class McpVoice(BaseModel): id: str name: str category: str fine_tuning_status: Optional[Dict] = None