type_diagnostics
Retrieve TypeScript diagnostic errors and warnings, optionally filtered by file, to pinpoint type issues in your project.
Instructions
TypeScript errors and warnings, optionally scoped to a single file
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": "type_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Absolute path to scope diagnostics to a single file | |
| tsconfig | No | Path to tsconfig.json (auto-detected if omitted) |