Skip to main content
Glama

retell_delete_knowledge_base_source

Remove a source from a knowledge base to manage content and maintain accuracy in Retell AI's agent platform.

Instructions

Remove a source from a knowledge base.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
knowledge_base_idYesThe knowledge base ID
source_idYesThe source ID to delete

Implementation Reference

  • The switch case handler within the executeTool function that destructures the input arguments and makes a DELETE request to the Retell API endpoint for deleting a knowledge base source.
    case "retell_delete_knowledge_base_source": {
      const { knowledge_base_id: kbId, source_id } = args;
      return retellRequest(`/delete-knowledge-base-source/${kbId}/${source_id}`, "DELETE");
    }
  • The tool definition in the tools array, including name, description, and input schema for validation.
    {
      name: "retell_delete_knowledge_base_source",
      description: "Remove a source from a knowledge base.",
      inputSchema: {
        type: "object",
        properties: {
          knowledge_base_id: {
            type: "string",
            description: "The knowledge base ID"
          },
          source_id: {
            type: "string",
            description: "The source ID to delete"
          }
        },
        required: ["knowledge_base_id", "source_id"]
      }
    },
  • src/index.ts:1283-1285 (registration)
    Registration of the tool listing handler that exposes the tools array containing this tool to MCP clients.
    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