workspace__ListScriptTasks
Lists script execution tasks in a Huawei Cloud project, with filters for task/script IDs, status, type, resource group, and execution time to help audit or monitor 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__ListScriptTasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 单次查询的大小[1-100],默认值10。 | |
| offset | No | 查询的偏移量,默认值0。 | |
| status | No | 执行情况。 | |
| task_id | No | 执行脚本的任务ID。 | |
| script_id | No | 脚本ID。 | |
| task_type | No | 任务类型(SCRIPT/COMMAND)。 | |
| project_id | Yes | 项目ID。 | |
| script_name | No | 脚本名。 | |
| execute_time_end | No | 按执行时间查询的终止时间。指定该参数后,返回的结果为此时间之前的所有任务记录。时间格式如:“2021-10-01T12:00:00Z”。 | |
| resource_group_id | No | 执行脚本的资源组ID。 | |
| execute_time_start | No | 按执行时间查询的起始时间。指定该参数后,返回的结果为此时间之后的所有任务记录。时间格式如:“2021-10-01T12:00:00Z”。 | |
| resource_group_type | No | 资源组类型。 |