Skip to main content
Module

x/openai/resources/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.21.0/resources/mod.ts";

Interfaces

The function that the model called.

interface ChatCompletionMessageToolCall
import { type ChatCompletionMessageToolCall } from "https://deno.land/x/openai@v4.21.0/resources/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.