ProjectsOpenAIModelFactory.AgentTool(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The AgentTool. Please note this is the abstract base class. The derived classes available for instantiation are: LocalShellAgentTool, BingGroundingAgentTool, MicrosoftFabricAgentTool, SharepointAgentTool, AzureAISearchAgentTool, OpenAPIAgentTool, BingCustomSearchAgentTool, BrowserAutomationAgentTool, AzureFunctionAgentTool, CaptureStructuredOutputsTool, A2ATool, and MemorySearchTool.
public static Azure.AI.Projects.OpenAI.AgentTool AgentTool(string type = default);
static member AgentTool : string -> Azure.AI.Projects.OpenAI.AgentTool
Public Shared Function AgentTool (Optional type As String = Nothing) As AgentTool
Parameters
- type
- String
Returns
A new AgentTool instance for mocking.