Type Alias: GatewayInferenceInputFunctionTool
type GatewayInferenceInputFunctionTool = {
type: "function";
name: string;
description?: string | null;
parameters: {
[key: string]: GatewayJsonValue;
};
strict: boolean;
};
Defined in: src/models/ai-gateway-inference.ts:2541
Portkey FunctionTool; strict modeled input with explicit JSON extension maps.
Example
`GatewayInferenceInputFunctionToolSchema.parse(value);`
Properties
type
type: "function";
Defined in: src/models/ai-gateway-inference.ts:2542
name
name: string;
Defined in: src/models/ai-gateway-inference.ts:2543
description?
optional description?: string | null;
Defined in: src/models/ai-gateway-inference.ts:2544
parameters
parameters: {
[key: string]: GatewayJsonValue;
};
Defined in: src/models/ai-gateway-inference.ts:2545
Index Signature
[key: string]: GatewayJsonValue
strict
strict: boolean;
Defined in: src/models/ai-gateway-inference.ts:2546