ChatToolChoice - Python SDK

ChatToolChoice method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

Tool choice configuration

Supported Types

components.ChatToolChoiceNone

1value: components.ChatToolChoiceNone = /* values here */

components.ChatToolChoiceAuto

1value: components.ChatToolChoiceAuto = /* values here */

components.ChatToolChoiceRequired

1value: components.ChatToolChoiceRequired = /* values here */

components.ChatNamedToolChoice

1value: components.ChatNamedToolChoice = /* values here */

components.ChatServerToolChoice

1value: components.ChatServerToolChoice = /* values here */