mrs__ListHosts
Lists detailed host information for a specified MRS cluster, enabling you to inspect cluster nodes and manage resources by cluster ID and project ID.
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__ListHosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageSize | No | 分页查询每页返回的最大集群数量。 | |
| cluster_id | Yes | 集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。 | |
| project_id | Yes | 项目编号。获取方法,请参见[获取项目ID](https://support.huaweicloud.com/api-mrs/mrs_02_0011.html)。 | |
| currentPage | No | 当前查询页码。默认值为1。 |