browser_switch_tab
Switch the active browser tab by ID so subsequent actions target that tab. Use IDs from browser_list_tabs or browser_get_new_tab; optionally bring Chrome to front only after user consent.
Instructions
Switch to a specific browser tab by ID. Get tab IDs from browser_list_tabs or browser_get_new_tab. The other tools then act on that tab. Chrome is not brought in front of the user: the tab is made active in its window, and visibility says whether the page is hidden behind other windows.
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": {
"tab_id": "<tab_id>"
},
"name": "browser_switch_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | Yes | Tab ID to switch to | |
| partition | No | Run this call in a partition from browser_partition (an id like "p1"). Leave it out for the default partition. An unknown or closed id is an error; the call is never sent to the default partition instead. | |
| bring_to_front | No | Also bring the Chrome window in front of the user. Takes the user's screen: only after the user agreed (browser_ask_user). Default false. |