Console and network errors
diagnoseLoad any page to capture console errors, uncaught exceptions, and failed requests, including issues thrown during initial load, so you can identify root causes of front-end failures.
Instructions
Load a page and report console errors, uncaught exceptions and failed requests. Listeners attach before navigation, so errors thrown during load are caught.
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": {
"url": "<url>"
},
"name": "diagnose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page to load | |
| viewport | No | Which viewport to load it at. Defaults to laptop. |