tabs_groups_query
Lists tab groups and their IDs across Firefox windows or with filters, helping you find a group ID required by other tab-group actions.
Instructions
List tab groups with their IDs, in every window or filtered
Requires Firefox 139+. tabs_group reports a group's ID only when it creates the group, so this is how to find the ID of any other group.
profile_id is required: obtain it from profiles_list. All object IDs are local to that profile; never reuse them in another profile.
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": {
"profile_id": "<profile_id>"
},
"name": "tabs_groups_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Only groups of this colour. | |
| title | No | Only groups with exactly this title. | |
| collapsed | No | Only collapsed (True) or expanded (False) groups. | |
| window_id | No | Only groups in this window (optional, accepts int or string). | |
| profile_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |