ProjectsAgentsModelFactory.OpenAPITool Method

Definition

The input definition information for an OpenAPI tool as used to configure an agent.

public static Azure.AI.Projects.Agents.OpenAPITool OpenAPITool(System.Collections.Generic.IDictionary<string,Azure.AI.Projects.Agents.ToolConfig> toolConfigs = default, Azure.AI.Projects.Agents.OpenApiFunctionDefinition functionDefinition = default);
static member OpenAPITool : System.Collections.Generic.IDictionary<string, Azure.AI.Projects.Agents.ToolConfig> * Azure.AI.Projects.Agents.OpenApiFunctionDefinition -> Azure.AI.Projects.Agents.OpenAPITool
Public Shared Function OpenAPITool (Optional toolConfigs As IDictionary(Of String, ToolConfig) = Nothing, Optional functionDefinition As OpenApiFunctionDefinition = Nothing) As OpenAPITool

Parameters

toolConfigs
IDictionary<String,ToolConfig>

Deprecated. This property is deprecated and will be removed in a future version.

functionDefinition
OpenApiFunctionDefinition

The openapi function definition.

Returns

A new OpenAPITool instance for mocking.

Applies to