await_human_takeover
Wait for a person to hand browser control back on the takeover page; returns completion status, page URL, and title so an agent can resume or poll again.
Instructions
Wait up to timeout (default 25 s) for the person to hand control back on the takeover page, or for the link to end. Returns { completed, watching, expired, url, title }: completed true once they handed back, with the page's URL and title; otherwise false, and call it again in a loop, each call short enough for your host's per-call limit (the default suits Executor). watching true means the link is still open: the person may watch and can take control again, and then calls on the session fail until you await the same token again. expired true means the link ran out unfinished; issue a new request_human_takeover. The person may take several minutes, so poll from a background task if you can. A session opened with a name saves its login under that name as soon as they finish. Fails on a token that request_human_takeover didn't issue or whose link has ended and was already reported.
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": {
"token": "<token>"
},
"name": "await_human_takeover"
}
}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 25000, max 1800000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Where the session is once finished. | |
| title | No | ||
| token | Yes | ||
| expired | Yes | True when the link expired unfinished: request a new one. | |
| watching | Yes | True when they handed back but the link is still open: they may be watching, and can take control again. | |
| completed | Yes | True once the person handed control back or the link ended; false while they still have control. |