browser_close_tab
Close a tab by tab ID or window ID, or default to the foreground tab, to remove unneeded pages and clean up an AI agent's browsing session.
Instructions
Close a tab.
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": "browser_close_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab to act on. Defaults to the foreground tab of that window. | |
| windowId | No | Window to act on. Defaults to the frontmost window. |