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
Name | Required | Description | Default |
---|---|---|---|
tabId | Yes | The 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"
}