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

x/openai/resources/beta/threads/runs/mod.ts>FunctionToolCall

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

Interfaces

The definition of the function that was called.

interface FunctionToolCall
import { type FunctionToolCall } from "https://deno.land/x/openai@v4.24.3/resources/beta/threads/runs/mod.ts";

Properties

id: string

The ID of the tool call object.

function: FunctionToolCall.Function

The definition of the function that was called.

type: "function"

The type of tool call. This is always going to be function for this type of tool call.