Type Alias: GatewayInferenceChatCompletionMessageToolCall
type GatewayInferenceChatCompletionMessageToolCall = {
[key: string]: unknown;
id: string;
type: "function";
function: {
[key: string]: unknown;
name: string;
arguments: string;
};
};
Defined in: src/models/ai-gateway-inference.ts:937
Portkey ChatCompletionMessageToolCall; additive response fields are preserved.
Example
`GatewayInferenceChatCompletionMessageToolCallSchema.parse(value);`
Indexable
[key: string]: unknown
Properties
id
id: string;
Defined in: src/models/ai-gateway-inference.ts:938
type
type: "function";
Defined in: src/models/ai-gateway-inference.ts:939
function
function: {
[key: string]: unknown;
name: string;
arguments: string;
};
Defined in: src/models/ai-gateway-inference.ts:940
Index Signature
[key: string]: unknown
name
name: string;
arguments
arguments: string;