ILlmSchema is a JSON Schema subset designed for LLM function calling
compatibility. Most LLMs (OpenAI GPT, Anthropic Claude, Google Gemini, etc.)
do not fully support JSON Schema, so this simplified schema omits unsupported
features like tuples, const, and mixed union types.
Generated by typia.llm.schema<T>() for single types or included in
ILlmApplication via typia.llm.application<Class>(). Shared type
definitions use $defs with $ref references to reduce duplication and
handle recursive structures.
Set ILlmSchema.IConfig.strict to true for OpenAI's structured output
mode, which requires all properties to be required and
additionalProperties: false.
Type schema for LLM function calling.
ILlmSchemais a JSON Schema subset designed for LLM function calling compatibility. Most LLMs (OpenAI GPT, Anthropic Claude, Google Gemini, etc.) do not fully support JSON Schema, so this simplified schema omits unsupported features like tuples,const, and mixed union types.Generated by
typia.llm.schema<T>()for single types or included in ILlmApplication viatypia.llm.application<Class>(). Shared type definitions use$defswith$refreferences to reduce duplication and handle recursive structures.Set ILlmSchema.IConfig.strict to
truefor OpenAI's structured output mode, which requires all properties to berequiredandadditionalProperties: false.