axint.validate
Validate TypeScript intent definitions using 134 diagnostic rules, returning JSON diagnostics with severity, code, line, and column. Ideal for checking DSL code before generating Swift.
Instructions
Validate a TypeScript intent definition without generating Swift. Runs the full Axint validation pipeline (134 diagnostic rules) and returns a JSON array of diagnostics: { severity: 'error'|'warning', code: 'AXnnn', line: number, column: number,... Use: use for TypeScript DSL diagnostics before Swift output; use swift.validate for existing Swift. Effects: read-only diagnostics; writes no files and uses no network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Full TypeScript source code containing a defineIntent() call. Must be a complete file starting with an axint... |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Primary Axint tool response text, matching the first text content block. | |
| isError | No | Whether Axint marked the tool response as an error. |