Skip to content

elicit_await

Block until an approval request is decided, or the wait bound elapses — the long-poll at the heart of the Approval Flow.

The agent has nothing useful to do until the human decides. One elicit_await loop replaces a busy elicit_status poll: each call parks server-side and returns the instant a decision lands (or the bound elapses).

Parameter Type Required Description
elicitationId string yes The id returned when the request was created.
{ "elicitationId": "" }
  • A bounded long-poll: waits up to min(server bound, time until expiry), returning the instant a decision lands.
  • If it returns "pending", the wait bound was hit before a decision — just call it again. That single loop works on every host: the call always returns before the host’s tool-call timeout.
{ "status": "approved" }

status is one of pending · approved · rejected · consumed · expired.