ProjectsAgentsModelFactory.WebIQPreviewToolboxTool 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.
A WebIQ tool stored in a toolbox.
public static Azure.AI.Projects.Agents.WebIQPreviewToolboxTool WebIQPreviewToolboxTool(string name = default, string description = default, System.Collections.Generic.IDictionary<string,Azure.AI.Extensions.OpenAI.ToolConfig> toolConfigs = default, string projectConnectionId = default, string serverLabel = default, BinaryData requireApprovalInternal = default);
static member WebIQPreviewToolboxTool : string * string * System.Collections.Generic.IDictionary<string, Azure.AI.Extensions.OpenAI.ToolConfig> * string * string * BinaryData -> Azure.AI.Projects.Agents.WebIQPreviewToolboxTool
Public Shared Function WebIQPreviewToolboxTool (Optional name As String = Nothing, Optional description As String = Nothing, Optional toolConfigs As IDictionary(Of String, ToolConfig) = Nothing, Optional projectConnectionId As String = Nothing, Optional serverLabel As String = Nothing, Optional requireApprovalInternal As BinaryData = Nothing) As WebIQPreviewToolboxTool
Parameters
- name
- String
Optional user-defined name for this tool or configuration.
- description
- String
Optional user-defined description for this tool or configuration.
- 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.
- projectConnectionId
- String
The ID of the WebIQ project connection.
- serverLabel
- String
The label of the WebIQ MCP server to connect to. When omitted, the service defaults to connection name extracted from project_connection_id.
- requireApprovalInternal
- BinaryData
Whether the agent requires approval before executing actions. When omitted, the service defaults to "always".
Returns
A new WebIQPreviewToolboxTool instance for mocking.