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
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The chat agent ID to delete |
Implementation Reference
- src/index.ts:1197-1198 (handler)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");
- src/index.ts:686-699 (schema)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 }; });