Skip to main content
Module

x/openai/resources/chat/completions.ts>ChatCompletionToolMessageParam

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface ChatCompletionToolMessageParam
import { type ChatCompletionToolMessageParam } from "https://deno.land/x/openai@v4.21.0/resources/chat/completions.ts";

Properties

content: string | null

The contents of the tool message.

role: "tool"

The role of the messages author, in this case tool.

tool_call_id: string

Tool call that this message is responding to.