mrs__ListNodes
Retrieves the node list for a specified Huawei Cloud MRS cluster, supporting filtering by node name, node group, internal IP, sorting, and pagination.
Instructions
[MRS] 查询集群节点列表。
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": {
"cluster_id": "<cluster_id>",
"project_id": "<project_id>"
},
"name": "mrs__ListNodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回结果中每页显示条数。缺省值:10。 | |
| offset | No | 表示作业列表从该偏移量开始查询。缺省值:1。 | |
| sort_dir | No | 列表排序方式,desc为降序,asc为升序。 | |
| sort_key | No | 排序键,支持对节点名称排序。 | |
| node_name | No | 指定节点名称,支持模糊搜索。 | |
| cluster_id | Yes | 集群ID。 | |
| node_group | No | 要查询的节点组名称。 | |
| project_id | Yes | 项目ID。 | |
| internal_ip | No | 指定内网IP。 | |
| query_ecs_detail | No | 是否查询ECS详情信息,会涉及对ECS接口调用。 | |
| query_node_detail | No | 是否查询节点详情。该字段设为true时可能会影响接口性能。 |