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

x/openai/resources/beta/threads/threads.ts>ThreadCreateAndRunStreamParams.Thread.ToolResources

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

A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the code_interpreter tool requires a list of file IDs, while the file_search tool requires a list of vector store IDs.

Properties

optional
code_interpreter: ToolResources.CodeInterpreter