close_page
Closes a browser tab or page by optional page ID. Refuses to close the last window to prevent leaving the browser without tabs. For managed lifecycle cleanup, prefer close_managed_tabs.
Instructions
Low-level tab close tool kept for compatibility; refuses to close the last browser window. Prefer close_managed_tabs for BrowserPilot-managed lifecycle cleanup.
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": "close_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Optional page/tab ID to close |