workspace__ListPorts
Retrieves a paginated port list for a Huawei Cloud project and filters results by subnet, IP address, or usage status.
Instructions
[WORKSPACE] 查询端口列表。
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": "workspace__ListPorts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 功能说明:每页返回的个数。取值范围:1~2000。默认值:2000。 | |
| marker | No | 分页查询的起始资源ID。 | |
| is_used | No | 是否被使用。 | |
| subnet_id | No | 子网ID。 | |
| ip_address | No | ip地址。 | |
| project_id | Yes | 项目ID。 |