retell_delete_knowledge_base_source
Remove a source from a knowledge base in Retell AI's agent platform to manage content and maintain accurate information.
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 handler case in the executeTool switch statement that destructures the input arguments and makes a DELETE request to the Retell API to remove the specified source from the knowledge base.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 schema definition for the tool in the tools array, specifying name, description, and input schema requiring knowledge_base_id and source_id.{ 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"] } },