Switch to a tab
browser_activate_tabActivates a specified Firefox tab by context ID or index so subsequent typing and clicking target that tab instead of the previously active one.
Instructions
Make a tab the active one (browsingContext.activate). Pass its context id from browser_list_tabs, or an index among the tabs. Useful before typing or clicking, since input goes to the active tab.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_activate_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | 0-based tab index instead of a context id | |
| context | No | Context id of the tab to activate |