tabs_close_mcp
Close a specific Firefox tab using its id from tabs_context_mcp; ignores invalid or already-closed tabs.
Instructions
Shut one tab out of the session tab group, addressed by id - the way you tidy up once a page has served its purpose. tabId is required, and has to be an id tabs_context_mcp reported: a tab from one of your own windows, or one that is already gone, is refused rather than quietly ignored. Ids are handed out in sequence and never reused, so a closed one stays invalid for the rest of the session. Shutting the last remaining tab empties the group and Firefox drops it; a later tabs_context_mcp that passes createIfEmpty, or any tabs_create_mcp, builds a fresh one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Id of the tab to close, an integer taken from tabs_context_mcp. It has to be one of the tabs this session opened for itself. |