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

x/openai/resources/beta/threads/mod.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.52.0/resources/beta/threads/mod.ts";
interface RequiredActionFunctionToolCall
import { type RequiredActionFunctionToolCall } from "https://deno.land/x/openai@v4.52.0/resources/beta/threads/mod.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.

The function definition.

type: "function"

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