browser_focus
Activates a specific browser tab by ID and brings its window to the foreground, so you can direct attention to the correct page during automation.
Instructions
Activate a tab and focus its window.
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": {
"tabId": "<tabId>"
},
"name": "browser_focus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab id from browser_tabs. | |
| browser | No | Browser id from browser_list, or chrome/firefox when only one instance matches. |