get_console_logs
Retrieve EasyEDA browser console logs to debug issues. Filter by type or keyword, limit returned entries, and optionally clear the log cache after retrieval.
Instructions
获取嘉立创EDA浏览器控制台日志。可独立调用;若当前尚未建立控制台监听,会自动连接浏览器并启动监听。支持按类型/关键词过滤,可指定返回条数,可选择获取后清空。
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_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | 获取后是否清空日志缓存,默认false | |
| count | No | 返回最近N条日志,默认50条 | |
| filter | No | 过滤关键词,匹配日志类型或内容(如 error、warn、某个函数名) | |
| browserPath | No | 浏览器可执行文件的绝对路径(如 Edge、Chrome),不传则自动检测 |