browser_close
Close an active browser tab, with an option to shut down the whole browser. In attach mode, it detaches instead, leaving the browser running.
Instructions
Close a session's tab. Set shutdown_browser=True to stop the browser too.
Only a browser this server launched is stopped. In attach mode the browser is yours: shutdown detaches and leaves it, and every other window, running.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | default | |
| shutdown_browser | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |