Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/mod.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.24.3/resources/mod.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.