servicebus_requeue_subscription_dlq
Requeues messages from a Service Bus subscription dead letter queue back to its topic, preserving body and properties. Stops when max messages reached.
Instructions
Move messages from a topic subscription's dead letter queue back to the topic.
Each message is re-sent to the topic preserving body, session_id, correlation_id, and application_properties, then completed (removed) from the dead letter queue. Stops if the running total would exceed max_messages.
connection_string_env_var: name of the environment variable holding the Service Bus connection string. If the variable is set, connection-string auth is used; otherwise DefaultAzureCredential is used.
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_requeue_subscription_dlq"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| topic | Yes | ||
| subscription | Yes | ||
| max_messages | No | ||
| connection_string_env_var | No | AZURE_SERVICEBUS_CONNECTION_STRING |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |