purge_queue
Remove all messages from an ActiveMQ queue by specifying the queue name and confirming the operation. Clear the queue of pending messages to reset or free up the broker for new traffic.
Instructions
Remove all messages from a queue
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": {
"connectionId": "<connectionId>",
"queueName": "<queueName>",
"confirm": "<confirm>"
},
"name": "purge_queue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Confirmation flag - must be true to proceed with purge | |
| queueName | Yes | Name of the queue to purge | |
| connectionId | Yes | ID of the connection |