Type Alias: GatewayInferenceChatCompletionRequestToolMessage
type GatewayInferenceChatCompletionRequestToolMessage = {
[key: string]: unknown;
role: "tool";
content: string;
tool_call_id: string;
};
Defined in: src/models/ai-gateway-inference.ts:1767
Portkey ChatCompletionRequestToolMessage; additive response fields are preserved.
Example
`GatewayInferenceChatCompletionRequestToolMessageSchema.parse(value);`
Indexable
[key: string]: unknown
Properties
role
role: "tool";
Defined in: src/models/ai-gateway-inference.ts:1768
content
content: string;
Defined in: src/models/ai-gateway-inference.ts:1769
tool_call_id
tool_call_id: string;
Defined in: src/models/ai-gateway-inference.ts:1770