request_human_takeover
Hands the active browser page to a human for login when passwords or passkeys must stay private, returning a limited-use URL to share and a token for awaiting completion.
Instructions
Hand the session's active page to a human to log in themselves (passwords/passkeys the agent must not see). Use it only when a login needs a person; for a site you've logged into before, try load_browser_state first. Show the returned url to the user and keep the token for await_human_takeover. Does NOT block. STRONGLY ADVISED: after showing the URL, run await_human_takeover in a BACKGROUND task (subagent/job) — not your main loop — because the human may take many minutes and you should stay responsive. The URL is a bearer credential that gives live control of the tab until ttlMinutes passes, so share it only with the intended person. Fails if TAKEOVER_BASE_URL isn't configured on the server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The id returned by open_browser_session. Errors if no open session has it. | |
| ttlMinutes | No | Minutes the link stays valid, 1 to 60 (larger values are capped). The link is a bearer credential, so keep it short. Default 30. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The link to show the person who will log in. | |
| token | Yes | Pass to await_human_takeover. | |
| expiresAtMs | Yes | When the link stops working, in milliseconds since the Unix epoch. |