retell_list_voices
Retrieve available voice options for configuring AI agents in the Retell AI platform.
Instructions
List all available voices for use with agents.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:1249-1250 (handler)The switch case handler for the 'retell_list_voices' tool. It invokes retellRequest to perform a GET request to the '/list-voices' endpoint on the Retell API, which lists available voices.case "retell_list_voices": return retellRequest("/list-voices", "GET");
- src/index.ts:1019-1025 (schema)The tool definition in the tools array, including its schema (empty input object since no parameters required). This is used for tool listing and validation.name: "retell_list_voices", description: "List all available voices for use with agents.", inputSchema: { type: "object", properties: {} } },
- src/index.ts:1283-1285 (registration)Registers the handler for listing all tools, which returns the 'tools' array containing the retell_list_voices definition.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });