codeartsinspector__ListHosts
List a tenant's host assets using a project ID, with pagination and optional host group filtering for inventory and inspection.
Instructions
[CODEARTSINSPECTOR] 获取租户的主机资产列表
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>"
},
"name": "codeartsinspector__ListHosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 分页查询,每页显示的条目数量 | |
| offset | No | 分页查询,偏移量,表示从此偏移量开始查询 | |
| group_id | No | 主机组id | |
| project_id | Yes | 用户的project_id |