Skip to main content
Glama

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
NameRequiredDescriptionDefault
agent_idYesThe agent ID to delete

Implementation Reference

  • 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"] } },
  • 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"] }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/itsanamune/retellsimp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server