Delete Requests
delete_requestPermanently delete one or more .yml/.bru request files from a Bruno collection after a single confirmation; every path is validated first, so one invalid file deletes nothing.
Instructions
Permanently delete request files from a Bruno collection. One confirm covers the whole list. Each file is unlinked and cannot be recovered through this server. Only .yml/.bru files inside a detected collection can be deleted. Every path is checked before the first unlink, so one unusable path deletes nothing. The result names each file's outcome. To clear a script and keep the request, use remove_script.
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": {
"filePaths": "<filePaths>",
"confirm": "<confirm>"
},
"name": "delete_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true. Every file in filePaths is deleted permanently. | |
| filePaths | Yes | Absolute paths to the .yml or .bru request files to delete, from list_requests or get_collection_stats. A one-element list deletes one request. |