Knowledge base: Delete collection
kb_delete_collectionDelete one of the caller's KB collections AND all its documents and chunks by id. States the document count it will remove. Only the caller's own collection is reachable. Destructive — runs only after you confirm via confirm_action. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": {
"collection_id": "<collection_id>"
},
"name": "kb_delete_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_id | Yes |