browser_focus_tab
Activate a Chrome tab and bring its window to the foreground, making the tab visible to the user. Resolves the issue of a hidden tab across multiple windows or minimized states.
Instructions
Bring a Chrome tab to the foreground: activate the tab AND focus its window.
Unlike browser_switch_tab (which only changes the MCP-side active session without touching the visible Chrome UI), this actually makes the tab visible to the user. Use this when the user can't find the tab the agent is working on (e.g. across many windows / Spaces / minimized windows).
Goes through chrome.tabs.update + chrome.windows.update (extension-native APIs), avoiding the chrome.debugger CDP "Not allowed" restriction on Target.activateTarget.
Args: tab_id: The tab ID to focus (from browser_get_tabs).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |