validate_syntax
Checks a TypeScript file for syntax errors without full type checking, so you can catch invalid syntax using only the file path.
Instructions
Validate TypeScript syntax without full type checking
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": "validate_syntax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to TypeScript file to validate |