devtools_console
Capture and review browser console logs for any tab. Start monitoring to collect messages, filter by level, list entries, or clear the buffer for debugging.
Instructions
Inspect the browser console for a tab. Start monitoring to capture future logs, then list or clear them. Equivalent to the DevTools Console panel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Filter logs by level (default: all) | |
| limit | No | Max entries to return (default: 50) | |
| tabId | No | Target tab ID (from browser_tabs list). Uses active tab if omitted. | |
| action | Yes | start: begin capturing logs | list: show captured logs | clear: empty the log buffer | |
| agentId | No | Agent identifier for parallel execution. Pass a unique ID (e.g. 'C1', 'J2') — the server automatically routes calls to this agent's dedicated tab (registered via browser_tabs action=new). |