Skip to main content

Function: getIntentJSONSchema()

getIntentJSONSchema(): Record<string, unknown>

Defined in: intent/getIntentJSONSchema.ts:12

Returns AnalyticalIntent's JSON Schema, directly usable as an LLM structured-output or function-calling input_schema (PRD-005's Must item). Derived from intentSchema via z.toJSONSchema (D2/D5) — no hand-maintained JSON Schema document exists anywhere in this package, so the document can never drift from what validateIntent actually accepts.

Returns

Record<string, unknown>