优雅结束 Gemini 子代理长会话 (HITL)
finish_gemini_taskTerminate an active streaming task by closing its input and waiting for successful completion.
Instructions
主动结束处于 stream 模式的运行中任务,关闭 stdin 管道并等待任务优雅收敛进入 success 终态。
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": {
"job_id": "<job_id>"
},
"name": "finish_gemini_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | 目标 stream 运行中任务的 job_id |