Delete KB Documents
lyzr_kb_delete_docsDelete documents from a knowledge base by their IDs. Provide the knowledge base ID and an array of document IDs to remove.
Instructions
Delete documents from a knowledge base by their document ids.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rag_id": "<rag_id>",
"docs": "<docs>"
},
"name": "lyzr_kb_delete_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docs | Yes | Array of document ids to delete | |
| rag_id | Yes | Knowledge base id |