Skip to main content

Type Alias: GatewayInferenceToolChoiceFunction

type GatewayInferenceToolChoiceFunction = {
[key: string]: unknown;
type: "function";
name: string;
};

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

Portkey ToolChoiceFunction; additive response fields are preserved.

Example​

`GatewayInferenceToolChoiceFunctionSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

type​

type: "function";

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


name​

name: string;

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