Open or close the Browser Console
browser_consoleOpen, close, or toggle Firefox's browser-wide console window to inspect messages from all tabs and browser components.
Instructions
Open or close the Browser Console (the Ctrl+Shift+J window that logs browser-wide messages). MEASURED: call BrowserConsoleManager.openWindow() with NO arguments — its openBrowserConsole(win) variant throws "can't access property windowRoot, win is undefined" because the manager has no commands bound outside a real DevTools context. openWindow() spawns the standalone devtools:webconsole window, which is what the menu item does.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "browser_console"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | What to do |