find_errors
Detects TypeScript error patterns including floating promises, empty catches, unsafe assertions, and double assertions to help identify potential issues.
Instructions
Analyzes TypeScript-specific error patterns: floating promises, empty catches, unsafe type assertions, double assertions
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "find_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the TS/JS file | |
| function | No | Scope analysis to a specific function |