servicebus_list_topics
List all topics in an Azure Service Bus namespace, with optional subscription details for each topic.
Instructions
List all topics in an Azure Service Bus namespace.
Returns a sorted JSON array of topic names. If include_subscriptions is true, returns a JSON object mapping each topic name to a sorted array of its subscription names. The namespace can be given as a short name or fully qualified hostname.
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>"
},
"name": "servicebus_list_topics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| include_subscriptions | No | ||
| connection_string_env_var | No | AZURE_SERVICEBUS_CONNECTION_STRING |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |