tabs_close
Closes a specified browser tab by ID, or the current tab when no ID is given; closing the last open tab also closes the browser.
Instructions
Close one tab. Closing the last tab closes the browser.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tabId": "<tabId>"
},
"name": "tabs_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID to target. Omit to act on the current tab. |