workspace__ListDesktopSnapshot
Lists desktop snapshots in Huawei Cloud Workspace with pagination and filters by desktop ID or name, snapshot name or status, disk type, and creation type.
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__ListDesktopSnapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 用于分页查询。默认1000,取值范围1-1000。 | |
| offset | No | 用于分页查询,查询的起始记录序号,从0开始。 | |
| status | No | 快照状态。 | |
| disk_type | No | 快照类型。 | |
| sort_type | No | 排序类型,默认升序,需要结合sort_field字段一起使用。 | ASC |
| desktop_id | No | 桌面id。 | |
| project_id | Yes | 项目ID。 | |
| sort_field | No | 排序字段名称,需要结合sort_type字段一起使用。 | |
| create_type | No | 快照创建类型。 | |
| desktop_name | No | 桌面名称。 | |
| snapshot_name | No | 快照名称。 |