Skip to main content

Console

Access browser console output for debugging. Console tools are part of the core capability and always available.

browser_console_messages

ParameterTypeRequiredDescription
levelstringnoMinimum level: error, warning, info, debug. Each level includes more severe levels.
→ browser_console_messages

[error] Uncaught TypeError: Cannot read property 'map' of undefined
at app.js:42:15
[warning] Deprecation: 'window.webkitStorageInfo' is deprecated.
[info] App initialized in 234ms
[info] User session restored

→ browser_console_messages { level: "error" }
[error] Uncaught TypeError: Cannot read property 'map' of undefined
at app.js:42:15

browser_console_clear

Clear the console message buffer.

Workflow: debugging a broken page

You: The page looks broken. Check the console for errors.

→ browser_console_messages { level: "error" }
[error] Failed to fetch: GET https://api.example.com/data 404
[error] Uncaught Error: API returned 404

→ // LLM now knows the API endpoint is returning 404
→ // Can mock the route or investigate further