List selectable library voices
list_available_voicesList selectable library voices
Returns the voices from the shared library that an agent can be pointed at, each with descriptive labels and the address of a spoken sample. Without language the whole library is returned, which is what a portal serving several countries needs; pass a language code to narrow it to the voices offered for that language, plus the account's own cloned and generated voices, which are returned whatever the filter says. Identifiers here are the library ids used when setting a voice on an agent, which differ in form from the voice_<number> ids of GET /voices. The response is not paginated, and access is governed by the read:agents scope rather than a voice-specific one. If the platform has no voice engine credential configured the call answers 500 with the code config_error.
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": "list_available_voices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Narrow the list to voices offered for this language, as a code from GET /languages/agent, for example `de` or `pt-br`. Omit it for the full library. |