retell_delete_phone_number
Remove a phone number from your Retell AI account to release it from service, ensuring proper management of communication resources.
Instructions
Delete/release a phone number from your account.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone_number | Yes | The phone number in E.164 format to delete |
Implementation Reference
- src/index.ts:1163-1164 (handler)The execution handler for the tool within the switch statement in executeTool function. It makes a DELETE request to the Retell API endpoint `/delete-phone-number/{phone_number}` using the helper retellRequest.case "retell_delete_phone_number": return retellRequest(`/delete-phone-number/${encodeURIComponent(args.phone_number as string)}`, "DELETE");
- src/index.ts:388-400 (registration)The tool registration in the tools array, including name, description, and input schema. This array is returned by the ListTools handler to register all available tools.name: "retell_delete_phone_number", description: "Delete/release a phone number from your account.", inputSchema: { type: "object", properties: { phone_number: { type: "string", description: "The phone number in E.164 format to delete" } }, required: ["phone_number"] } },
- src/index.ts:388-400 (schema)Input schema definition for the retell_delete_phone_number tool, specifying the required phone_number parameter.name: "retell_delete_phone_number", description: "Delete/release a phone number from your account.", inputSchema: { type: "object", properties: { phone_number: { type: "string", description: "The phone number in E.164 format to delete" } }, required: ["phone_number"] } },