Skip to content

Commit 5bfb3fa

Browse files
Merge pull request #12 from elevenlabs/pma/use-v2-voice
Remove list_voices
2 parents 77fe32f + ec813d5 commit 5bfb3fa

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

elevenlabs_mcp/server.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -226,19 +226,6 @@ def text_to_sound_effects(
226226
)
227227

228228

229-
@mcp.tool(description="List all available voices")
230-
def list_voices() -> list[McpVoice]:
231-
"""List all available voices.
232-
Returns:
233-
A formatted list of available voices with their IDs and names
234-
"""
235-
response = client.voices.get_all()
236-
return [
237-
McpVoice(id=voice.voice_id, name=voice.name, category=voice.category)
238-
for voice in response.voices
239-
]
240-
241-
242229
@mcp.tool(
243230
description="""
244231
Search for voices by search term. Returns all voices if no search term is provided. Searches in name, description, labels and category.

0 commit comments

Comments
 (0)