Skip to main content
The Go SDK and docs are currently in beta. Report issues on GitHub.
JSON Schema configuration object

Fields

FieldTypeRequiredDescriptionExample
Description*string:heavy_minus_sign:Schema description for the modelA mathematical response
Namestring:heavy_check_mark:Schema name (a-z, A-Z, 0-9, underscores, dashes, max 64 chars)math_response
Schemamap[string]any:heavy_minus_sign:JSON Schema object{"properties": {"answer": {"type": "number"}
},
“required”: [
“answer”
],
“type”: “object”
}
Strictoptionalnullable.OptionalNullable[bool]:heavy_minus_sign:Enable strict schema adherencefalse