Wait for Kimi Session
kimi_wait_until_idlePoll a Kimi session until idle, awaiting approval/question, failed, or aborted. Return normalized status and pending data without aborting or modifying the session.
Instructions
Poll an owned Kimi session until it is idle, awaiting approval, awaiting a question, failed, aborted, or the caller wait times out. Use the sessionId returned by delegation or recovered through kimi_recent_jobs. Returns normalized status and pending approval/question data when applicable. A timeout only ends this wait attempt; it does not abort the Kimi session or mark the durable job timed out. This tool does not modify workspace content.
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": {
"sessionId": "<sessionId>"
},
"name": "kimi_wait_until_idle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Kimi session ID returned by delegation or session-discovery tools. | |
| timeoutMs | No | Maximum time in milliseconds to poll before returning timeout. Timeout does not abort or otherwise mutate the session. |