Remove a queue's dead letters
remove_dead_lettersRemove a queue service's dead letters: ids, or all, one of the two. The bytes come back at once, so a queue refused for its volume_mib takes writes again. An id not dead now is passed over and not counted, so a live message is never removed. Removing the message an ordered key died on BRINGS THE KEY BACK: its later messages resume in order, with a gap where the removed number was, and came_back says how many per key; it can be none, since messages delivered together spend their attempts together. all takes up to 16000 in one call: call it again while remaining is above 0.
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": {
"app": "<app>",
"service": "<service>"
},
"name": "remove_dead_letters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| app | Yes | ||
| ids | No | ||
| token | No | fallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused | |
| service | Yes | The queue service, as your spec names it |