coc__ListResource
Queries all cloud resources owned by a user across Huawei Cloud services, with filters for provider, resource type, region, status, tags, IP, and pagination.
Instructions
[COC] 查询用户所有资源
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": {
"limit": "<limit>",
"provider": "<provider>",
"type": "<type>"
},
"name": "coc__ListResource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ip | |
| tag | No | 标签的值 | |
| name | No | 名称 | |
| type | Yes | 资源类型名称 | |
| az_id | No | az id | |
| ep_id | No | 企业项目id | |
| limit | Yes | 最大的返回数量 | |
| marker | No | 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页 | |
| status | No | 资源状态 | |
| vpc_id | No | vpc id | |
| ip_type | No | ip类型,fixed:内网IP,floating:弹性公网IP | |
| os_type | No | 系统类型 | |
| tag_key | No | 标签的key | |
| group_id | No | 分组id | |
| provider | Yes | 云服务名称 | |
| region_id | No | region id | |
| image_name | No | 镜像名称,模糊匹配 | |
| project_id | No | project id | |
| agent_state | No | agent状态 | |
| component_id | No | 组件id | |
| is_delegated | No | 资源是否已托管 | |
| application_id | No | 应用id | |
| cce_cluster_id | No | cce集群id | |
| resource_id_list | No | 资源id列表 |