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

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

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

Interfaces

The definition of the function that was called.

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

Properties

index: number

The index of the tool call in the tool calls array.

type: "function"

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

optional
id: string

The ID of the tool call object.

The definition of the function that was called.