workspace__ExecuteDesktopPoolAction
Executes batch power actions—start, stop, restart, or hibernate—on desktops in a Workspace desktop pool for a specified project and operation 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": {
"op_type": "<op_type>",
"pool_id": "<pool_id>",
"project_id": "<project_id>"
},
"name": "workspace__ExecuteDesktopPoolAction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | 执行类型。例如type为HARD,op_type为os-stop代表强制关机。 | |
| op_type | Yes | 操作类型。 | |
| pool_id | Yes | 桌面池ID。 | |
| project_id | Yes | 项目ID。 |