has_errors
Determine if TypeScript errors exist in your project or a specific file. Returns a boolean result for fast validation.
Instructions
Quick boolean check if there are any TypeScript errors. Optionally check a specific file. Extremely fast - use this before full diagnostic queries.
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": "has_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Optional: Path to specific file to check |