Skip to main content

Type Alias: GatewayInferenceChatCompletionTool

type GatewayInferenceChatCompletionTool = {
[key: string]: unknown;
type: "function";
function: GatewayInferenceFunctionObject;
};

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

Portkey ChatCompletionTool; additive response fields are preserved.

Example​

`GatewayInferenceChatCompletionToolSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

type​

type: "function";

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


function​

function: GatewayInferenceFunctionObject;

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