collections_delete
Delete a knowledge collection.
If the collection is assigned to agents, prompts, or channels, pass force=true to delete anyway. CASCADE removes all assignments automatically.
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": "collections_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force delete even if collection is in use. OMIT for the safe default (refuse to delete in-use collections). | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| collection_id | Yes | ID of the collection to delete |