find_empty_catches
Locate empty catch blocks and swallowed exceptions across files or a subdirectory, filtered by glob pattern, to surface hidden error-handling gaps.
Instructions
Find empty catch blocks and swallowed 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": "find_empty_catches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Subdirectory to search | |
| file_glob | No | Filter by file pattern |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check | Yes | ||
| total | Yes | ||
| matches | Yes |