tab_close
Close a specified or current browser tab and discard its page state while keeping the browser running; returns the ID of the tab active afterwards.
Instructions
Close one tab and discard its page state; the browser itself keeps running. Defaults to the current tab; pass tab to close another. Returns the id of the tab that is current afterwards. To shut down the whole browser use browser_close. Element refs from the closed tab are gone.
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": "tab_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Tab id from tabs_list. Defaults to the current tab. |