Purge terminal tasks
purge_queueDrop terminal (done/failed/dead) tasks from a queue for cleanup, keeping in-flight ones. Returns count of removed tasks.
Instructions
Drop TERMINAL tasks (done/failed/dead) from a queue for retention/cleanup. In-flight (queued/claimed) tasks are kept. Returns how many were removed.
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": {
"queue": "<queue>"
},
"name": "purge_queue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queue | Yes |