Close browser session
browser_closeClose and discard an unneeded in-memory browser session, clearing its document and history while keeping persistent cookies. Specify a session ID to target that session; otherwise, the active session closes.
Instructions
Closes and permanently discards one in-memory browser session, including its current document and history; persistent profile cookies remain saved. Use it when that tab is no longer needed. session_id targets a specific session; if omitted, the active session is closed. Returns closed, or not_found without changing another session.
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_id | No | Optional browser tab/session identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||