Skip to main content

Type Alias: GatewayInferenceInputChatCompletionNamedToolChoice

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

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

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

Example​

`GatewayInferenceInputChatCompletionNamedToolChoiceSchema.parse(value);`

Properties​

type​

type: "function";

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


function​

function: {
name: string;
};

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

name​

name: string;