Skip to main content

Type Alias: GatewayInferenceInputChatCompletionToolChoiceOption

type GatewayInferenceInputChatCompletionToolChoiceOption =
| "none"
| "auto"
| "required"
| GatewayInferenceInputChatCompletionNamedToolChoice;

Defined in: src/models/ai-gateway-inference.ts:744

Portkey ChatCompletionToolChoiceOption; strict modeled input with explicit JSON extension maps.

Example​

`GatewayInferenceInputChatCompletionToolChoiceOptionSchema.parse(value);`