Await human input
await_humanWait for human decision on WAITING_HUMAN (scenario:execute + grant). Modes: block (long-poll up to timeout_s, default/max 90 — always pass timeout_s=90), poll (one shot), peek (one shot). Pass since_version from the wait_human response version. Mandatory ladder after wait_human (agent must orchestrate; host does not auto-retry): 1) Call await_human(mode=block, since_version=, timeout_s=90) exactly once. 2) If changed=true: follow next_action immediately (usually take_step). Do not poll. 3) If timed_out=true: do NOT call mode=block again; do NOT call poll immediately; sleep exactly retry_after seconds from the response (default 60) using a real wait/sleep tool; then call await_human(mode=poll, same since_version). Repeat sleep(retry_after)+poll up to 3 times total. 4) Only after those 3 poll retries still not changed: tell the user you are still waiting; stop the ladder. Later get_procedure+grant may return missed_while_away / human_inbox (B3).
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": {
"id": "<id>"
},
"name": "await_human"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Procedure UUID or silvalabs:procedure/<uuid>/<name>#grant=… | |
| mode | No | ||
| grant | No | Raw grant token; optional if already in procedure id (#grant= or ?grant=) | |
| timeout_s | No | ||
| since_version | No |