comet_tabs
Manage Comet browser tabs by listing, switching, or closing them to free memory and maintain clean search context. Opens new tabs for searches and auto-closes the oldest beyond five.
Instructions
Manage tabs in the Comet browser. Each comet_search opens a new tab (tagged [search] in list output). Use 'list' to see all tabs, 'switch' to go back to a previous search result, 'close' to free memory.
Tab hygiene: list tabs periodically and close old ones. Max 5 search tabs are kept (oldest auto-closed). Closing a tab removes it from search tracking.
Args: action: 'list' (show all), 'new' (open tab), 'switch' (by index), 'close' (by index). tab_index: Tab index for 'switch' or 'close' (0-based, from 'list' output). url: URL for 'new' tab action (opens blank if omitted).
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": "comet_tabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| action | No | list | |
| tab_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |