retell_get_voice
Retrieve voice configuration details from Retell AI's platform to manage AI phone agents and conversation flows.
Instructions
Retrieve details of a specific voice.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voice_id | Yes | The voice ID to retrieve |
Implementation Reference
- src/index.ts:1247-1248 (handler)Executes the retell_get_voice tool by calling the Retell API's /get-voice/{voice_id} endpoint via the shared retellRequest helper function.case "retell_get_voice": return retellRequest(`/get-voice/${args.voice_id}`, "GET");
- src/index.ts:1005-1017 (schema)Defines the input schema and metadata for the retell_get_voice tool, including the required voice_id parameter.name: "retell_get_voice", description: "Retrieve details of a specific voice.", inputSchema: { type: "object", properties: { voice_id: { type: "string", description: "The voice ID to retrieve" } }, required: ["voice_id"] } },
- src/index.ts:1283-1285 (registration)Registers the handler for listing tools, which returns the static tools array containing the retell_get_voice tool definition.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });
- src/index.ts:1287-1293 (registration)Registers the general tool execution handler that dispatches to executeTool based on tool name, handling retell_get_voice via the switch case.// Register tool execution handler server.setRequestHandler(CallToolRequestSchema, async (request) => { const { name, arguments: args } = request.params; try { const result = await executeTool(name, args as Record<string, unknown>); return {