workspace__BatchRunDesktops
Batch-manage Huawei Cloud Workspace desktops by powering on, shutting down, hibernating, or restarting multiple desktops in one request, with normal or forced operation modes.
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": {
"desktop_ids": "<desktop_ids>",
"op_type": "<op_type>",
"project_id": "<project_id>"
},
"name": "workspace__BatchRunDesktops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | SOFT:普通操作;HARD:强制操作。例如type为HARD,op_type为os-stop代表强制关机。 | |
| op_type | Yes | 操作类型。 | |
| project_id | Yes | 项目ID。 | |
| desktop_ids | Yes | 操作的桌面ID列表。 |