Share via


UpdateToolResourcesOptions interface

Request object. 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

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

azureFunction

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

codeInterpreter

Overrides the list of file IDs made available to the code_interpreter tool. There can be a maximum of 20 files associated with the tool.

fileSearch

Overrides the vector store attached to this agent. There can be a maximum of 1 vector store attached to the agent.

Property Details

azureAISearch

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

azureAISearch?: AzureAISearchResource

Property Value

azureFunction

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

azureFunction?: AzureFunctionToolResource

Property Value

codeInterpreter

Overrides the list of file IDs made available to the code_interpreter tool. There can be a maximum of 20 files associated with the tool.

codeInterpreter?: UpdateCodeInterpreterToolResourceOptions

Property Value

fileSearch

Overrides the vector store attached to this agent. There can be a maximum of 1 vector store attached to the agent.

fileSearch?: UpdateFileSearchToolResourceOptions

Property Value