Share via


ToolResources interface

A set of resources that are used by the agent's tools. 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

azureAISearch

Resources to be used by the azure_ai_search tool consisting of index IDs and names.

azureFunction

Resources to be used by the azure_function tool consisting of connection IDs.

codeInterpreter

Resources to be used by the code_interpreter tool consisting of file IDs.

fileSearch

Resources to be used by the file_search tool consisting of vector store IDs.

Property Details

azureAISearch

Resources to be used by the azure_ai_search tool consisting of index IDs and names.

azureAISearch?: AzureAISearchResource

Property Value

azureFunction

Resources to be used by the azure_function tool consisting of connection IDs.

azureFunction?: AzureFunctionToolResource

Property Value

codeInterpreter

Resources to be used by the code_interpreter tool consisting of file IDs.

codeInterpreter?: CodeInterpreterToolResource

Property Value

fileSearch

Resources to be used by the file_search tool consisting of vector store IDs.

fileSearch?: FileSearchToolResource

Property Value