get_file_diagnostics
Get TypeScript diagnostics for a specific file quickly, without needing to run tsc on the whole project.
Instructions
Get TypeScript diagnostics for a specific file. Much faster than running tsc on the whole project.
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": "get_file_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the TypeScript file |