hss__ListPortHost
Lists hosts and containers that use a specified port, helping identify port exposure and inventory with filters for project, host IP, host name, port type, and pagination.
Instructions
[HSS] 具备该端口的主机/容器信息
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": {
"port": "<port>",
"project_id": "<project_id>"
},
"name": "hss__ListPortHost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | 端口号 | |
| type | No | 端口类型:目前包括TCP,UDP两种 | |
| limit | No | 每页显示数量 | |
| offset | No | 偏移量:指定返回记录的开始位置 | |
| host_ip | No | 主机ip | |
| category | No | 类别,默认为host,包含如下: | |
| host_name | No | 主机名称 | |
| project_id | Yes | 项目ID | |
| enterprise_project_id | No | 主机所属的企业项目ID。 |