Close the tabs to the right
browser_close_tabs_to_rightClose all tabs to the right of a defined context tab. This tool manages browser clutter by removing adjacent tabs while preserving pinned ones.
Instructions
Close every tab to the right of the given one ("close tabs to the right" in the tab context menu). Pinned tabs at the end are kept, matching the menu behaviour.
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": "browser_close_tabs_to_right"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Tab context id acting as the left boundary (default: the active tab) |