close_tab
Close a browser tab by index, browser-derived ID, or name substring; use -1 for the active tab or -99 for the last. This targets the intended tab in automation sessions.
Instructions
Close tab by index, browser-derived id, or name substring (-1 active, -99 last). Accepts 'tab'/'index'.
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 | No | ||
| index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |