Put tabs into a tab group
browser_group_tabsGroups selected Firefox tabs by context ID into a tab-strip group with optional label and color. Users can then collapse or reopen the group from the browser UI.
Instructions
Create a tab group from the given tabs (Firefox tab groups, gBrowser.addTabGroup). Give the tab context ids; label and color are optional. This is the same grouping the tab strip offers, so a human can collapse or reopen the group from the UI afterwards.
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": {
"contexts": "<contexts>"
},
"name": "browser_group_tabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Group color | |
| label | No | Group label | |
| contexts | Yes | Tab context ids to group (at least one) |