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

x/openai/resources/chat/mod.ts>ChatCompletionMessageToolCall

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
namespace ChatCompletionMessageToolCall
import { ChatCompletionMessageToolCall } from "https://deno.land/x/openai@v4.61.1/resources/chat/mod.ts";

Interfaces

The function that the model called.

interface ChatCompletionMessageToolCall
import { type ChatCompletionMessageToolCall } from "https://deno.land/x/openai@v4.61.1/resources/chat/mod.ts";

Properties

id: string

The ID of the tool call.

The function that the model called.

type: "function"

The type of the tool. Currently, only function is supported.