axint.scaffold
Generate a starter TypeScript intent file from a name and description. Returns a complete defineIntent() source string ready to save as a .ts file — no files are written, no network requests made. On invalid domain values, returns an error string. The output compiles directly with axint.compile. Use this when creating a new intent from scratch; use axint.templates.get for a working reference example, or axint.schema.compile to generate Swift without writing TypeScript.
axint.compile
Compile TypeScript source (defineIntent() call) into native Swift App Intent code. Note: on this remote endpoint, full TS compilation is not available — use axint.schema.compile for best results. Full TS compilation is available via the CLI (npx @axintai/compiler axint-mcp).
axint.validate
Validate a TypeScript intent definition without generating Swift output. Note: on this remote endpoint, use axint.schema.compile for validation. Full TS validation available via CLI.
axint.schema.compile
Compile a minimal JSON schema directly to Swift, bypassing the TypeScript DSL entirely. Supports intents, views, widgets, and full apps via the 'type' parameter. Uses ~20 input tokens vs hundreds for TypeScript — ideal for LLM agents optimizing token budgets. Returns Swift source with token usage stats; no files written, no network requests. On invalid input, returns an error message describing the issue. Use this for quick Swift generation without writing TypeScript; use axint.compile when you need the full DSL for complex intents with custom perform() logic.
axint.templates.list
List all bundled reference templates available in the axint SDK. Returns an array of { id, name, description } objects — one per template. No parameters, no files written, no network requests, no side effects. Use this to discover template ids, then call axint.templates.get with a specific id to retrieve the full source. Unlike axint.scaffold which generates from parameters, templates are complete working examples with perform() logic included.
axint.templates.get
Return the full TypeScript source code of a bundled reference template by id. Returns a complete defineIntent() file that compiles with axint.compile — no files written, no network requests. Returns an error message if the id is not found. Call axint.templates.list first to discover valid ids. Unlike axint.scaffold which generates a skeleton, templates include complete perform() logic and are ready to use as-is.