McpToolTriggerOptions(Boolean) Constructor
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.
This class provides configuration options for the MCP tool trigger for an agent.
public McpToolTriggerOptions(bool isEnabled);
new Microsoft.Agents.AI.Hosting.AzureFunctions.McpToolTriggerOptions : bool -> Microsoft.Agents.AI.Hosting.AzureFunctions.McpToolTriggerOptions
Public Sub New (isEnabled As Boolean)
Parameters
- isEnabled
- Boolean
A value indicating whether the MCP tool trigger is enabled for the agent.
Set to true to enable the trigger; otherwise, false.