Open a Developer Tools panel for a tab
browser_devtools_openOpen Firefox DevTools on a specific tab and select a panel like inspector or console to debug and inspect web pages.
Instructions
Open the Firefox DevTools toolbox on a tab and select one tool panel. MEASURED: the entry point is gDevTools.showToolboxForTab(tab, {toolId}) — there is no gDevTools.openToolbox in this build. Tool ids come from browser_devtools_tools. The toolbox may open in a separate window, which is why its markup is not visible in the browser document.
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": {
"tool": "<tool>"
},
"name": "browser_devtools_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Which panel to select | |
| context | No | Tab to inspect (default: the active tab) |