switch_to_tab
Activates and focuses a specified Google Chrome tab by its tab ID, bringing the target tab to the foreground for browser control tasks.
Instructions
Activate/focus a tab in Google Chrome
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": "switch_to_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID to activate |