list_models
Retrieve all available text-to-speech models from ElevenLabs to select the appropriate voice synthesis option for your audio generation needs.
Instructions
List all available models
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- elevenlabs_mcp/server.py:417-430 (handler)The handler function for the 'list_models' tool, decorated with @mcp.tool for registration. Fetches models from ElevenLabs API and converts them to McpModel instances.@mcp.tool(description="List all available models") def list_models() -> list[McpModel]: response = client.models.list() return [ McpModel( id=model.model_id, name=model.name, languages=[ McpLanguage(language_id=lang.language_id, name=lang.name) for lang in model.languages ], ) for model in response ]
- elevenlabs_mcp/model.py:31-35 (schema)Pydantic BaseModel defining the output schema for models returned by list_models tool.class McpModel(BaseModel): id: str name: str languages: list[McpLanguage]
- elevenlabs_mcp/model.py:26-29 (schema)Pydantic BaseModel defining the schema for language objects within McpModel.class McpLanguage(BaseModel): language_id: str name: str