switch_tab
Switches the active default tab to a given ID, setting it as the target for later calls and optionally the browser window.
Instructions
Switches the active default tab to the specified Tab ID. Side effects: the switched tab becomes the default target of all subsequent tool calls in this instance that omit 'tab_id'; when 'activate' is true it is also brought to the foreground in the Chrome window ('activate' defaults to true). Prerequisites: the tab must exist (see 'list_tabs'). Returns: structured JSON with the new 'active_tab_id' and whether the tab was brought to the foreground. Use this before interacting with a different page without repeating 'tab_id' on every call. Alternatives: pass 'tab_id' directly on an individual tool call to address a tab without switching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | Yes | The Tab ID to switch to (e.g. 'tab-1'). | |
| activate | No | If true, brings the tab to the foreground in the browser. Defaults to true. | |
| instance_id | No | Chrome instance id from open_instance/list_instances. Omit for the default instance. |