request_guest_grant
Ask a person to let you drive tabs in their own Chrome via their guest extension, so their logins stay on their machine. Returns a link and a sessionId for tasks they must do as themselves.
Instructions
Ask a person (the guest) to let you drive tabs in their own Chrome, through the browser-session guest extension they load themselves, so their logins and cookies never leave their machine. Use it when a person must act as themselves on a site (configure a GitHub App on their repo, change a setting only they can reach) and handing their login to this server's Chrome with request_human_takeover would be wrong. Returns a link to send them and a sessionId (guest-…). Once they accept in the extension, navigate, take_snapshot, take_screenshot, click and type work with that sessionId; every other tool fails for it, and until they accept those calls fail saying so. Their extension enforces everything: only URLs matching allowedUrlPatterns, never sign-in, password, two-factor, security, token, key or billing pages, no scripts, cookies or other tabs, and in ask mode they press Allow before every click and Enter (a click call then waits up to 90 s). Selectors are CSS, or a line from take_snapshot such as button "Install"; no jev:. They may pause or end it at any time. What you see in snapshots and screenshots is what they share with you. Fails if TAKEOVER_BASE_URL isn't configured.
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": {
"purpose": "<purpose>",
"requester": "<requester>",
"allowedUrlPatterns": "<allowedUrlPatterns>",
"startUrl": "<startUrl>"
},
"name": "request_guest_grant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | Yes | What you need, shown to the guest and as their tab group's name, e.g. "Install the deploy bot on acme/api". Up to 200 characters. | |
| startUrl | Yes | Where the new tab opens; must match one of the patterns. | |
| requester | Yes | Who is asking, shown to the guest (marked unverified), e.g. "Ana from ops, via her AI agent". Up to 200 characters. | |
| ttlMinutes | No | Minutes the grant lasts from now, 1 to 60 (larger values are capped). Default 15. | |
| approvalMode | No | `ask` (default): the guest approves every click, Enter and Space key. `auto`: they don't, though the URL limits stay. The guest picks in the end. | |
| allowedUrlPatterns | Yes | Pages you may be on, as scheme://host/path with `*` matching anything in the path, and `*.` allowed at the start of the host for subdomains, e.g. https://github.com/apps/deploy-bot/* or https://github.com/organizations/acme/settings/installations*. The query string isn't matched. Keep them narrow: the guest sees them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The link to send the guest, to paste into the guest extension. | |
| sessionId | Yes | Pass to navigate, take_snapshot, take_screenshot, click and type once the guest accepts, and to revoke_guest_grant. | |
| expiresAtMs | Yes | When the grant ends, in milliseconds since the Unix epoch. | |
| approvalMode | Yes | Whether the extension asks the guest before every click and Enter (the guest may choose otherwise when accepting). |