lts__ListHostGroup
Lists host groups in Huawei Cloud LTS using project ID and filters like tags, host names, group names, types, or IDs to identify log collection targets.
Instructions
[LTS] 查询主机组列表
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": {
"filter": "<filter>",
"project_id": "<project_id>"
},
"name": "lts__ListHostGroup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | Yes | 主机组过滤参数 | |
| project_id | Yes | 项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。 | |
| host_group_id_list | No | 主机组ID |