Skip to main content

Module json_schema_types

Module json_schema_types 

Source

Structs§

ArrayProperty
JsonItem
A scalar value in a Schema: the property types that have no inner shape.
Schema
Defines the shape of a JSON object for the LLM, used both for structured output and for the parameters of a tool definition.

Enums§

ArrayItem
JSONType
SchemaPropertyType

Functions§

string_array_property
An array of plain strings, the one composite property that tool parameter and structured output schemas keep asking for. description explains the array to the LLM; the items carry none of their own.