Дочекатись запуску
glm_waitWaits for a background run to finish, returning its result while streaming progress notifications to avoid blind status polling. Timeout does not cancel the run; it returns current state.
Instructions
Чекає завершення фонового запуску і віддає результат. Поки чекає — шле клієнту progress-нотифікації, щоб оркестратор бачив хід, а не смикав glm_status наосліп. На таймауті запуск НЕ обривається: повертає стан, а робота йде далі.
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": {
"run_id": "<run_id>"
},
"name": "glm_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| timeout_sec | No | Скільки чекати (типово 600) |