vpc__ListVpcs
Lists VPCs in a Huawei Cloud project, enabling filtering by ID, CIDR, name, description, or enterprise project and pagination to find specific virtual networks.
Instructions
[VPC] 查询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__ListVpcs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | VPC资源ID。可以使用该字段过滤VPC | |
| cidr | No | VPC的CIDR。可以使用该字段过滤VPC | |
| name | No | VPC的name信息,可以使用该字段过滤VPC | |
| limit | No | 功能说明:每页返回的个数 | |
| marker | No | 分页查询起始的资源ID,为空时查询第一页 | |
| project_id | Yes | 项目ID | |
| description | No | VPC的描述信息。可以使用该字段过滤VPC | |
| enterprise_project_id | No | 功能说明:企业项目ID。可以使用该字段过滤某个企业项目下的VPC。 |