retell_list_phone_numbers
Retrieve all phone numbers associated with your Retell AI account to manage voice and chat agents.
Instructions
List all phone numbers registered with your Retell account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:1157-1158 (handler)The handler case in the executeTool switch statement that performs a GET request to the Retell API endpoint /list-phone-numbers to list all registered phone numbers. No input arguments required.
case "retell_list_phone_numbers": return retellRequest("/list-phone-numbers", "GET"); - src/index.ts:353-360 (schema)Tool schema definition including name, description, and empty input schema (no parameters required), part of the tools array used for tool listing and registration.
{ name: "retell_list_phone_numbers", description: "List all phone numbers registered with your Retell account.", inputSchema: { type: "object", properties: {} } }, - src/index.ts:1283-1284 (registration)Registration of the tool listing handler that returns the tools array containing the retell_list_phone_numbers tool definition.
server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools };