ExtensionsOpenAIModelFactory.ResponsesOpenApiTool 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 input definition information for an OpenAPI tool as used to configure an agent.
public static Azure.AI.Extensions.OpenAI.ResponsesOpenApiTool ResponsesOpenApiTool(Azure.AI.Extensions.OpenAI.ResponsesOpenApiFunctionDefinition openApi = default, System.Collections.Generic.IDictionary<string,Azure.AI.Extensions.OpenAI.ToolConfig> toolConfigs = default);
static member ResponsesOpenApiTool : Azure.AI.Extensions.OpenAI.ResponsesOpenApiFunctionDefinition * System.Collections.Generic.IDictionary<string, Azure.AI.Extensions.OpenAI.ToolConfig> -> Azure.AI.Extensions.OpenAI.ResponsesOpenApiTool
Public Shared Function ResponsesOpenApiTool (Optional openApi As ResponsesOpenApiFunctionDefinition = Nothing, Optional toolConfigs As IDictionary(Of String, ToolConfig) = Nothing) As ResponsesOpenApiTool
Parameters
The openapi function definition.
- toolConfigs
- IDictionary<String,ToolConfig>
Per-tool configuration map. Keys are tool names or * (catch-all default).
Resolution order: exact tool name match takes priority over *.
Unknown tool names are silently ignored at runtime.
Returns
A new ResponsesOpenApiTool instance for mocking.