delete_collection
Delete a collection without deleting its items; items lose membership and sub-collections become orphans. Run dry-run first to list both impacts before any write.
Instructions
Delete a collection. Items inside are NOT deleted — they lose membership in this collection. Sub-collections become orphans. Dry-run lists both blast surfaces before any write.
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_key": "<collection_key>"
},
"name": "delete_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| collection_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |