check_types
Validate TypeScript files or full projects by performing type checks and returning detailed diagnostics, with optional strict mode and declaration file handling.
Instructions
Perform comprehensive type checking on TypeScript files or projects
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": {
"filePath": "<filePath>"
},
"name": "check_types"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strict | No | Use strict type checking mode | |
| filePath | Yes | Path to TypeScript file or project directory to type check | |
| includeDeclarations | No | Include .d.ts declaration files in type checking |