Hide or show a tab in the tab strip
browser_set_tab_visibleHide or show a tab without closing it, keeping the page loaded and reachable by context ID. Use it to park tabs temporarily; the last visible tab in a window cannot be hidden.
Instructions
Hide a tab from the tab strip (gBrowser.hideTab) or bring it back (gBrowser.showTab). A hidden tab stays loaded and reachable by context id, it just is not shown — handy to park a tab without closing it. The last visible tab in a window cannot be hidden.
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": {
"visible": "<visible>"
},
"name": "browser_set_tab_visible"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Tab (default: the active tab) | |
| visible | Yes | true to show it again, false to hide it |