Recolor tab
recolor_tabSets a tab's color stripe and tint live, saving it with the session; pass a #rrggbb or #rgb value, or null to clear it back to the default or group project color.
Instructions
Set a tab's colour (a stripe and tint on its tab chip), applied live and saved with the session. color is "#rrggbb" or "#rgb"; null clears it back to the default (or, on a pane-group tab, back to the group's project colour, which a manual colour overrides). Address the tab by the tabId list_panes reports.
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>",
"color": "<color>"
},
"name": "recolor_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | "#rrggbb" or "#rgb"; null clears the manual colour | |
| tabId | Yes |