request_human_takeover
Get a URL so a person can log in to the active browser session themselves, keeping passwords and passkeys from the agent. Use when a site requires human login; share the link and wait for handback.
Instructions
Get a human takeover link (URL) for the session's active page, so a person can 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. The person starts in control, and every call on the session except reading logs fails until they hand control back; after that the link stays open for them to watch you work, and they can take control again, which pauses your calls the same way. After showing the URL, run await_human_takeover in a background task (subagent or job), since the human may take many minutes; with no background task, end your turn and call it once the user says they're done. 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.
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": {
"sessionId": "<sessionId>"
},
"name": "request_human_takeover"
}
}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. |