browser_save_session
Save the sign-in of an OPEN page into the browser identity the page was opened with (browser.open with identity), the same as a person's "I'm logged in, save session" button. Without it a sign-in made in a browser.open page is lost when the page closes, and everything that reads the identity (channels.reconnect, integrations) keeps the old session. Call it ONLY after checking the page shows the signed-in state (a logged-out page would replace a working session), before closing it. Refused when the page was opened without an identity, when the identity is not active or expired, or when the page is not signed in to the identity's own site. For a PENDING identity, pass the page_id browser.handoff(prepare=true, confirm_agent_sign_in=true) returned, after you signed in there: the identity becomes active and that window closes (the page_id stops working; continue with browser.open(identity=...)). Nothing secret is returned. Needs the member, admin or owner role.
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": {
"page_id": "<page_id>"
},
"name": "browser_save_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | page_id of the open, signed-in page (from browser.open with identity, or from browser.handoff with prepare=true). | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |