Delete Collection
delete_collectionPermanently deletes a Bruno collection directory and all its requests from disk, plus its workspace entry. Use it to remove a collection entirely; unregister it instead to keep files.
Instructions
Permanently delete a Bruno collection: the collection directory and everything inside it is removed from disk, and its workspace registry entry with it. Nothing here can be recovered through this server. Only a directory that is itself a collection root — one holding opencollection.yml or bruno.json — can be deleted. To keep the files and only stop the collection being listed, use unregister_collection instead.
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": {
"collectionPath": "<collectionPath>",
"confirm": "<confirm>"
},
"name": "delete_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true. Explicit acknowledgement that the directory and every request in it are deleted permanently. | |
| workspacePath | No | Absolute path of the workspace.yml holding its entry. Defaults to the same one list_collections reads: BRUNO_WORKSPACE_PATH, or the Bruno app's workspace for this platform. | |
| collectionPath | Yes | Absolute path of the collection directory to delete. Use the path from list_collections. |