close_tab
Closes a browser tab, defaulting to the active one, and activates the most recently active open tab or the newest if none remains.
Instructions
Closes a tab (default: the active one); the most recently active open tab (else the newest) becomes active and is brought to the front. Returns {closed_tab_id, active_tab_id}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "close_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | Default: the active tab (ids look like 'tab-1'). | |
| instance_id | No | Default: 'default'. |