Skip to main content
Glama

MCP Browser Tabs Server

by kazuph

close_tab_by_id

Close a specific Chrome tab by its unique ID, unaffected by tab reordering, window changes, or index shifting. Use the tab ID from the get_tabs output for precise control.

Instructions

🔥 PREFERRED METHOD: Close a specific tab in Google Chrome using its unique tab ID. IMMUNE to tab reordering, window changes, and index shifting. Extract the Tab ID from [Tab ID: 1234567890] in get_tabs output. Example: if tab shows '[Tab ID: 1594670961]', use tabId: 1594670961

Input Schema

NameRequiredDescriptionDefault
tabIdYesThe exact Tab ID number from [Tab ID: xxxxx] in get_tabs output - NOT the display number

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "tabId": { "description": "The exact Tab ID number from [Tab ID: xxxxx] in get_tabs output - NOT the display number", "exclusiveMinimum": 0, "type": "integer" } }, "required": [ "tabId" ], "type": "object" }

Other Tools from MCP Browser Tabs Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/kazuph/mcp-browser-tabs'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server