scan_recent_db_errors_in_logs
Scans workspace log files for recent SQL, JPA, Hibernate, constraint, and bad-data exceptions to diagnose database errors from application logs.
Instructions
Scans application log files in the current workspace (pass project_dir or log_path) for recent SQL, JPA, Hibernate, constraint, and bad-data exceptions.
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": "scan_recent_db_errors_in_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_path | No | ||
| tail_lines | No | ||
| max_matches | No | ||
| project_dir | No |