Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.28.4/resources/chat/completions.ts";

Properties

content: string

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.