chrome_console
Capture and retrieve console output from the active browser tab, including earlier messages and uncaught exceptions, to debug page issues.
Instructions
Capture and retrieve all console output from the current active browser tab/page. This captures console messages that existed before the tool was called.
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": {
"envId": "<envId>"
},
"name": "chrome_console"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to navigate to and capture console from. If not provided, uses the current active tab | |
| envId | Yes | Environment ID for the browser environment to operate. | |
| maxMessages | No | Maximum number of console messages to capture (default: 100) | |
| includeExceptions | No | Include uncaught exceptions in the output (default: true) |