Type Alias: GatewayInferenceFunctionTool
type GatewayInferenceFunctionTool = {
[key: string]: unknown;
type: "function";
name: string;
description?: string | null;
parameters: {
[key: string]: unknown;
};
strict: boolean;
};
Defined in: src/models/ai-gateway-inference.ts:3668
Portkey FunctionTool; additive response fields are preserved.
Example
`GatewayInferenceFunctionToolSchema.parse(value);`
Indexable
[key: string]: unknown
Properties
type
type: "function";
Defined in: src/models/ai-gateway-inference.ts:3669
name
name: string;
Defined in: src/models/ai-gateway-inference.ts:3670
description?
optional description?: string | null;
Defined in: src/models/ai-gateway-inference.ts:3671
parameters
parameters: {
[key: string]: unknown;
};
Defined in: src/models/ai-gateway-inference.ts:3672
Index Signature
[key: string]: unknown
strict
strict: boolean;
Defined in: src/models/ai-gateway-inference.ts:3673