browser_switch_window_by_index
Switch to a specific browser window by index so Selenium automation operates in the correct tab or window.
Instructions
Switch to a window by its index
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": {
"index": "<index>"
},
"name": "browser_switch_window_by_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | The index of the window to switch to |