runninghub_query_task
Query a RunningHub task's status and result by task ID. Choose v2 for standard model tasks or legacy for workflow and AI application tasks.
Instructions
查询 RunningHub 任务状态与结果(单次查询)。v2 用于标准模型任务;legacy 用于工作流/AI 应用任务。
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": {
"taskId": "<taskId>"
},
"name": "runninghub_query_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | 任务 ID | |
| apiVersion | No | 查询接口版本:v2=标准模型 API 任务(/openapi/v2/query);legacy=工作流/AI应用任务(/task/openapi/outputs)。不确定时先试 v2,失败再用 legacy | v2 |