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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Tab context id acting as the left boundary (default: the active tab) |