Skip to main content

Type Alias: GatewayInferenceInputToolChoiceFunction

type GatewayInferenceInputToolChoiceFunction = {
type: "function";
name: string;
};

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

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

Example​

`GatewayInferenceInputToolChoiceFunctionSchema.parse(value);`

Properties​

type​

type: "function";

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


name​

name: string;

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