Switch Browser Tab
browser_switch_tabSwitch to a specific browser tab using its page ID, making it the active target for subsequent actions. Obtain the page ID from listing tabs or attaching CDP, then confirm with get state.
Instructions
Use when a full-profile workflow must make a previously discovered page the active target. Preconditions: obtain a valid page ID from browser_list_tabs or browser_attach_cdp. Next: confirm selection with browser_get_state before acting. Sensitivity: the selected tab may contain private content or an authenticated session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |