browser.close_tab
Close a specific browser tab by its zero-based index when multiple tabs are open, reducing clutter and managing active browser sessions.
Instructions
Close one tab index if more than one tab is open.
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": {
"index": "<index>"
},
"name": "browser.close_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Zero-based index of the target tab, as reported by browser.list_tabs. | |
| session_id | No | Target session id, from browser.create_session or browser.list_sessions. Optional when exactly one session is live; observe and act tools create one when none is. | |
| approval_id | No | ID of the granted approval for exactly this call, from its approval_required answer. | |
| workflow_profile | No | governed: a call that can change something waits for approval. It answers status approval_required with an approval_id; call again with that id once it is granted. fast, the default, runs it directly unless this tool or deployment always requires approval. |