browser_switch_tab
Attach the operator to a different browser tab using its target ID so later snapshot, click, and type actions run there without needing tab focus.
Instructions
Attach the operator to a different page tab by target id (from browser_tabs). All subsequent snapshot/click/type actions run in the newly attached tab; the previous tab's overlay is left intact. Background operation: the newly attached tab does NOT need focus — the user can keep working in another tab while you operate. Returns the new tab's state-after.
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": {
"targetId": "<targetId>"
},
"name": "browser_switch_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetId | Yes | Target id from browser_tabs |