Switch Tab
switch_tabFocuses a specified browser tab so visual capture works, since other tools operate on background tabs.
Instructions
Focus a tab. Needed for visual capture; other tools work on background tabs.
Ex: switch_tab('t1') → {"focused":"t1"}
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": {
"tab_id": "<tab_id>"
},
"name": "switch_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||