codeartsdeploy__ListHostGroups
Queries host clusters by name, OS, project, region, and pagination filters to retrieve matching deployment groups; use newer cluster listing APIs after Sept 30, 2024.
Instructions
[CODEARTSDEPLOY] 按条件查询主机集群列表。该接口于2024年09月30日后不再维护,推荐使用新版ListHostClusters接口。
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": {
"project_id": "<project_id>",
"region_name": "<region_name>"
},
"name": "codeartsdeploy__ListHostGroups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | 操作系统:windows|linux | |
| name | No | 主机集群名 | |
| limit | No | 每页显示的条目数量,默认为1000 | |
| offset | No | 偏移量,表示从此偏移量开始查询,offset大于等于0 | |
| sort_dir | No | 排序方式:DESC、ASC,默认为DESC | |
| sort_key | No | 排序字段:nickName|NAME|OWNER_NAME|CREATE_TIME|name|owner_name|create_time,不传使用默认排序 | |
| project_id | Yes | 项目id | |
| region_name | Yes | 局点信息 |