Wait for a decision
elicit_awaitLong-poll for a decision on a pending elicitation: blocks until the request is submitted, declined, canceled, or expired — or until the server's polling window closes. Returns { status } (pending | submitted | declined | canceled | expired | consumed); a pending return means the window elapsed, so call again to keep waiting. Prefer this over polling elicit_status in a loop. If your host or gateway times out tool calls sooner than the server's window, pass maxWaitSeconds below that timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elicitationId | Yes | The `elicitationId` returned by the creating tool (elicit_approval, elicit_selection, or elicit_proposal). | |
| maxWaitSeconds | No | Longest this call waits, in seconds. Can only shorten the server's window (50 by default), never extend it; values under 1 count as 1. Set it a few seconds below your host or gateway's tool-call timeout — e.g. 25 behind a 30-second gateway. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | The request's state when the wait ended; `pending` means the polling window elapsed undecided — call again to keep waiting. |