Switch tab
browser_tab_switchActivate a browser tab by page ID and return its page snapshot, so AI agents can continue working in the correct tab.
Instructions
Make a tab active and return its snapshot.
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": {
"pageId": "<pageId>"
},
"name": "browser_tab_switch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| session | No | ||
| snapshot | No | Page state returned after the action: diff (default), full, none |