retell_delete_agent
Remove a voice agent from your Retell AI account by specifying its agent ID to manage your agent inventory.
Instructions
Delete a voice agent from your account.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent ID to delete |
Implementation Reference
- src/index.ts:1179-1180 (handler)The handler case in the executeTool switch statement that implements the tool logic by calling retellRequest with DELETE method to `/delete-agent/${agent_id}`.case "retell_delete_agent": return retellRequest(`/delete-agent/${args.agent_id}`, "DELETE");
- src/index.ts:564-577 (registration)Tool registration in the tools array, including name, description, and input schema. This array is returned by the ListTools handler.{ name: "retell_delete_agent", description: "Delete a voice agent from your account.", inputSchema: { type: "object", properties: { agent_id: { type: "string", description: "The agent ID to delete" } }, required: ["agent_id"] } },
- src/index.ts:567-576 (schema)Input schema definition for the retell_delete_agent tool, specifying the required agent_id parameter.inputSchema: { type: "object", properties: { agent_id: { type: "string", description: "The agent ID to delete" } }, required: ["agent_id"] }