poll_access
Collect the outcome of a request_access, proving possession of its deviceSecret. It HOLDS THE CALL OPEN and answers the moment the human decides — one call instead of a dozen, since each poll here costs a whole round trip through you. It waits 8 seconds by default; pass waitSeconds (up to 30) if your client tolerates a longer call. Pass urlMode=true when the client supports URL elicitation: while the request is pending this returns the standard -32042 URL-elicitation-required error, and retrying the same call after the browser decision returns the outcome. A wait that times out answers status=pending, and you simply call again. Then approved (with the token) or denied/expired. Use the token on every later call: as the X-Compose-Preview-Token header where you control headers, and otherwise as each gated tool's 'token' argument — which is what an MCP client reaching this flow mid-session needs, since its headers were fixed when it connected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urlMode | No | Use the protocol-standard URL elicitation UI while this request is pending. | |
| requestId | Yes | ||
| waitSeconds | No | ||
| deviceSecret | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||