Query Top N Longest Running Process Instances
query_top_n_longest_running_process_instancesRetrieve the N process instances with the longest runtimes in a project and time range to identify and analyze slow workflows.
Instructions
查询耗时最长的N个流程实例,用于分析慢流程
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": {
"projectCode": "<projectCode>",
"size": "<size>",
"startTime": "<startTime>",
"endTime": "<endTime>"
},
"name": "query_top_n_longest_running_process_instances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | 返回的实例数量 | |
| endTime | Yes | 统计结束时间 | |
| startTime | Yes | 统计起始时间 | |
| projectCode | Yes | 项目编码 |