browser_attach_identity
Switch an open page to another browser identity: the page is reopened at its current address in that identity's own browser (its cookies and storage), under the same page_id. What was typed or loaded on the page is not kept. For a first navigation, pass identity_name to browser.open instead.
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>",
"identity_name": "<identity_name>"
},
"name": "browser_attach_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| identity_name | Yes |