get_task_result
Retrieve the final result of a delegated task. If still running, returns current status; optionally wait up to 120 seconds for completion.
Instructions
获取已完成任务的最终结果。如果任务仍在运行,返回当前状态。
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": {
"task_id": "<task_id>"
},
"name": "get_task_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | 任务未完成时是否等待(最多 120 秒),默认 false | |
| task_id | Yes | 任务 ID |