runTypeTests
Runs type test assertions defined in files using expect-type and expect-error comments to validate TypeScript types.
Instructions
Run type test assertions from files with @ts-lsp-mcp expect-type/expect-error comments
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": "runTypeTests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Specific file to test | |
| pattern | No | Glob pattern for test files | |
| projectRoot | No | Project root directory |