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
| Name | Required | Description | Default |
|---|---|---|---|
| knowledge_base_id | Yes | The knowledge base ID | |
| source_id | Yes | The source ID to delete |
Implementation Reference
- src/index.ts:1241-1244 (handler)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"); }
- src/index.ts:984-1001 (schema)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 }; });