get_similar_library_voices
Find library voices matching an audio sample by comparing similarity, with optional top-k and threshold controls. Uses ElevenLabs credits.
Instructions
Get Similar Library Voices Spends ElevenLabs credits.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_similar_library_voices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | Number of most similar voices to return. If similarity_threshold is provided, less than this number of voices may be returned. Values range from 1 to 100. | |
| audio_file_path | No | File for "audio_file". Local path. | |
| audio_file_base64 | No | Base64 contents for "audio_file". Use this when the server cannot read your local disk. | |
| audio_file_filename | No | Filename to send for "audio_file". Some endpoints infer the audio format from it. | |
| similarity_threshold | No | Threshold for voice similarity between provided sample and library voices. Values range from 0 to 2. The smaller the value the more similar voices will be returned. |