Skip to main content
The Go SDK and docs are currently in beta. Report issues on GitHub.
Constrains the model to a pre-defined set of allowed tools

Fields

FieldTypeRequiredDescription
Modecomponents.Mode:heavy_check_mark:N/A
Tools[]map[string]any:heavy_check_mark:N/A
Typecomponents.ToolChoiceAllowedType:heavy_check_mark:N/A