ToolChoiceAllowed - Python SDK

ToolChoiceAllowed method reference

The Python 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✔️N/A
toolsList[Dict[str, Nullable[Any]]]✔️N/A
typecomponents.ToolChoiceAllowedType✔️N/A