Skip to main content

Type Alias: GatewayInferenceInputFunctionToolCall

type GatewayInferenceInputFunctionToolCall = {
id?: string;
type: "function_call";
call_id: string;
name: string;
arguments: string;
status?: "in_progress" | "completed" | "incomplete";
};

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

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

Example​

`GatewayInferenceInputFunctionToolCallSchema.parse(value);`

Properties​

id?​

optional id?: string;

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


type​

type: "function_call";

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


call_id​

call_id: string;

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


name​

name: string;

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


arguments​

arguments: string;

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


status?​

optional status?: "in_progress" | "completed" | "incomplete";

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