get_console_errors
Retrieve console errors, warnings, and logs from a web page with optional URL targeting and level filtering. Helps diagnose JavaScript exceptions and debugging output during browser automation.
Instructions
获取 Console 异常和日志
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": "get_console_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | 页面 URL(可选,如果未提供则使用当前页面) | |
| level | No | 日志级别过滤 | all |