vpc__ListSubnets
Lists subnets in a Huawei Cloud project, with optional VPC filtering and pagination, so you can inspect network resources before configuration or troubleshooting.
Instructions
[VPC] 查询子网列表
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": "vpc__ListSubnets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 每页返回的个数 | |
| marker | No | 分页查询起始的资源id,为空时查询第一页 | |
| vpc_id | No | 按照vpc_id过滤查询 | |
| project_id | Yes | 项目ID |