inspect
Diagnose rendering issues and JavaScript errors in web apps by capturing a screenshot and browser console logs.
Instructions
Inspect a running web app by capturing a screenshot and/or browser console logs.
Web apps (especially custom components) often have JavaScript errors that are invisible to users and LLMs. This tool captures both a visual screenshot and the browser console output in a single call, making it easy to diagnose rendering issues, JS errors, and runtime warnings.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The URL of the page to inspect. | http://localhost:5006/ |
| width | No | The width of the browser viewport. | |
| height | No | The height of the browser viewport. | |
| full_page | No | Whether to capture the full scrollable page. | |
| delay | No | Seconds to wait after page load before capturing, to allow dynamic content to render. | |
| save_screenshot | No | Whether and where to save the screenshot to disk: - True: Save to default screenshots directory (~/.holoviz-mcp/screenshots/) with auto-generated filename - False: Don't save screenshot to disk (only return to AI) - str: Save to specified absolute path (raises ValueError if path is not absolute) | |
| screenshot | No | Whether to capture a screenshot of the page. | |
| console_logs | No | Whether to capture browser console log messages. | |
| log_level | No | Filter console logs by level. If None, all levels are captured. Common levels: 'log', 'info', 'warning', 'error', 'debug'. |