servicebus_purge_subscription_dlq
Delete all messages from a topic subscription's dead letter queue. Stops when the running total exceeds the specified max messages. This action is irreversible.
Instructions
Delete all messages from the dead letter queue for a topic subscription.
THIS IS DESTRUCTIVE — messages cannot be recovered after purging. Stops and leaves remaining messages untouched if the running total exceeds max_messages.
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": {
"namespace": "<namespace>",
"topic": "<topic>",
"subscription": "<subscription>"
},
"name": "servicebus_purge_subscription_dlq"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| topic | Yes | ||
| subscription | Yes | ||
| max_messages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |