workspace__ShowDesktopPoolsScriptExecTasks
Lists script execution tasks for desktop pools with filters for status, script, task type, execution time, and pagination. Use it to monitor and audit desktop pool script or command runs.
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__ShowDesktopPoolsScriptExecTasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 用于分页查询,返回桌面数量限制。取值范围0-100,默认值是10。 | |
| offset | No | 用于分页查询,查询的起始记录序号,从0开始。 | |
| status | No | 执行情况。SUCCESS:成功,FAILED:失败,RUNNING:执行中,WAITING:等待。 | |
| task_id | No | 任务id。 | |
| script_id | No | 脚本id。 | |
| task_type | No | 查询的任务类型。支持SCRIPT、COMMAND。 | |
| project_id | Yes | 项目ID。 | |
| script_name | No | 脚本名称。 | |
| desktop_pool_id | No | 桌面池id。 | |
| execute_time_end | No | 按执行时间查询的终止时间。指定该参数后,返回的结果为此时间之前的所有任务记录。时间格式如:“2021-10-01T12:00:00Z”。 | |
| execute_time_start | No | 按执行时间查询的起始时间。指定该参数后,返回的结果为此时间之后的所有任务记录。时间格式如:“2021-10-01T12:00:00Z”。 |