ListBrokers
ListBrokersQueries the broker list of a specified RocketMQ instance with offset and limit pagination. Use it to review broker nodes and topology for read-only inspection and troubleshooting.
Instructions
查询代理列表(只读查询)
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": {
"instance_id": "<instance_id>"
},
"name": "ListBrokers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | **参数解释**: 查询数量。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 | |
| offset | No | **参数解释**: 偏移量,表示从此偏移量开始查询,offset大于等于0。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 | |
| region | No | Overrides HUAWEI_REGION. | |
| project_id | No | Overrides HUAWEI_PROJECT_ID. | |
| instance_id | Yes | **参数解释**: 实例ID。获取方法如下:调用“查询所有实例列表”接口,从响应体中获取实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 |