Skip to main content
Glama

retell_delete_chat_agent

Remove a chat agent from the Retell AI platform by specifying its agent ID to manage your deployed conversational AI resources.

Instructions

Delete a chat agent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesThe chat agent ID to delete

Implementation Reference

  • The handler logic within the executeTool switch statement that executes the tool by sending a DELETE request to the Retell API endpoint `/delete-chat-agent/${agent_id}`.
    case "retell_delete_chat_agent": return retellRequest(`/delete-chat-agent/${args.agent_id}`, "DELETE");
  • The tool schema definition including name, description, and inputSchema requiring 'agent_id' string.
    { name: "retell_delete_chat_agent", description: "Delete a chat agent.", inputSchema: { type: "object", properties: { agent_id: { type: "string", description: "The chat agent ID to delete" } }, required: ["agent_id"] } },
  • src/index.ts:1283-1285 (registration)
    Registration of the tool listing handler that exposes the tools array containing this tool's schema.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });

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