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

x/openai/resources/beta/threads/runs/runs.ts>RequiredActionFunctionToolCall

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

Tool call objects

Properties

id: string

The ID of the tool call. This ID must be referenced when you submit the tool outputs in using the Submit tool outputs to run endpoint.

function: RequiredActionFunctionToolCall.Function

The function definition.

type: "function"

The type of tool call the output is required for. For now, this is always function.