typescript_diagnostics
typescript_diagnosticsType-check a TypeScript project by reading its tsconfig and running compiler diagnostics without emitting, persisting findings for AI-driven code analysis.
Instructions
Explicit Reef ingestion tool for semantic TypeScript compiler diagnostics: read tsconfig, run the TypeScript program with no emit, persist working-tree ProjectFinding rows under source typescript, and return bounded findings. This may run a broad typecheck; use diagnostic_refresh with typescript_syntax for syntax-only refresh.
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": "typescript_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| projectId | No | ||
| projectRef | No | ||
| maxFindings | No | ||
| tsconfigPath | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _hints | Yes | ||
| status | Yes | ||
| findings | Yes | ||
| toolName | Yes | ||
| warnings | Yes | ||
| errorText | No | ||
| projectId | Yes | ||
| truncated | Yes | ||
| durationMs | Yes | ||
| projectRoot | Yes | ||
| tsconfigPath | No | ||
| totalFindings | Yes | ||
| requestedFiles | Yes | ||
| checkedFileCount | Yes | ||
| persistedFindings | Yes |