Skip to main content

Type Alias: GatewayInferenceInputChatCompletionMessageToolCall

type GatewayInferenceInputChatCompletionMessageToolCall = {
id: string;
type: "function";
function: {
name: string;
arguments: string;
};
};

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

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

Example​

`GatewayInferenceInputChatCompletionMessageToolCallSchema.parse(value);`

Properties​

id​

id: string;

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


type​

type: "function";

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


function​

function: {
name: string;
arguments: string;
};

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

name​

name: string;

arguments​

arguments: string;