Uses of Class
com.azure.ai.agents.persistent.models.ToolResources
Packages that use ToolResources
Package
Description
Package containing the classes for Agents.
Package containing the data models for Agents.
-
Uses of ToolResources in com.azure.ai.agents.persistent
Methods in com.azure.ai.agents.persistent with parameters of type ToolResourcesModifier and TypeMethodDescriptionThreadsAsyncClient.createThread(List<ThreadMessageOptions> messages, ToolResources toolResources, Map<String, String> metadata) Creates a new thread.ThreadsClient.createThread(List<ThreadMessageOptions> messages, ToolResources toolResources, Map<String, String> metadata) Creates a new thread.ThreadsAsyncClient.updateThread(String threadId, ToolResources toolResources, Map<String, String> metadata) Modifies an existing thread.ThreadsClient.updateThread(String threadId, ToolResources toolResources, Map<String, String> metadata) Modifies an existing thread. -
Uses of ToolResources in com.azure.ai.agents.persistent.models
Methods in com.azure.ai.agents.persistent.models that return ToolResourcesModifier and TypeMethodDescriptionstatic ToolResourcesToolResources.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ToolResources from the JsonReader.CreateAgentOptions.getToolResources()Get the toolResources property: A set of resources that are used by the agent's tools.CreateThreadAndRunOptions.getToolResources()Get the toolResources property: Override the tools the agent can use for this run.PersistentAgent.getToolResources()Get the toolResources property: A set of resources that are used by the agent's tools.PersistentAgentThread.getToolResources()Get the toolResources property: A set of resources that are made available to the agent's tools in this thread.PersistentAgentThreadCreationOptions.getToolResources()Get the toolResources property: A set of resources that are made available to the agent's tools in this thread.ThreadRun.getToolResources()Get the toolResources property: Override the tools the agent can use for this run.UpdateAgentOptions.getToolResources()Get the toolResources property: A set of resources that are used by the agent's tools.ToolResources.setAzureAISearch(AzureAISearchToolResource azureAISearch) Set the azureAISearch property: Resources to be used by the `azure_ai_search` tool consisting of index IDs and names.ToolResources.setCodeInterpreter(CodeInterpreterToolResource codeInterpreter) Set the codeInterpreter property: Resources to be used by the `code_interpreter` tool consisting of file IDs.ToolResources.setFileSearch(FileSearchToolResource fileSearch) Set the fileSearch property: Resources to be used by the `file_search` tool consisting of vector store IDs.Methods in com.azure.ai.agents.persistent.models with parameters of type ToolResourcesModifier and TypeMethodDescriptionCreateAgentOptions.setToolResources(ToolResources toolResources) Set the toolResources property: A set of resources that are used by the agent's tools.CreateThreadAndRunOptions.setToolResources(ToolResources toolResources) Set the toolResources property: Override the tools the agent can use for this run.PersistentAgentThreadCreationOptions.setToolResources(ToolResources toolResources) Set the toolResources property: A set of resources that are made available to the agent's tools in this thread.UpdateAgentOptions.setToolResources(ToolResources toolResources) Set the toolResources property: A set of resources that are used by the agent's tools.