await_human_takeover
Waits for the human to finish logging in on the takeover page, returning completed:true on success or false on timeout. Poll it in a background task with short timeouts to catch the Done signal.
Instructions
Wait for the human to click Done in the takeover page. completed is true if they finished, false on timeout. STRONGLY ADVISED: run this in a BACKGROUND task and POLL — call it in a loop with a SHORT timeout (e.g. 4000ms) until completed:true — rather than one long blocking call, which can exceed your MCP client's request timeout and make you miss the Done signal. The human may take several minutes; a background poller lets you be notified and resume. On completion the session is authenticated and you can continue; consider save_browser_state so later sessions skip the login. Fails on a token that request_human_takeover didn't issue or that has already completed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The token returned by request_human_takeover. | |
| timeout | No | Milliseconds to wait before returning completed: false. Default 300000, max 1800000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| completed | Yes | True once the person clicked Done; false on timeout. |