Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.38.5/resources/beta/threads/mod.ts";
interface RequiredActionFunctionToolCall
import { type RequiredActionFunctionToolCall } from "https://deno.land/x/openai@v4.38.5/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.