tab_switch
Switch to a specific browser tab by index to control active page during UI testing.
Instructions
Switches to the tab with the given index (0-based).
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": "tab_switch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Tab index (see tab_list) |