Share via


DeclarativeWorkflowOptions.McpToolHandler Property

Definition

Gets or sets the MCP tool handler for invoking MCP tools within workflows. If not set, MCP tool invocations will fail with an appropriate error message.

public Microsoft.Agents.AI.Workflows.Declarative.IMcpToolHandler? McpToolHandler { get; init; }
member this.McpToolHandler : Microsoft.Agents.AI.Workflows.Declarative.IMcpToolHandler with get, set
Public Property McpToolHandler As IMcpToolHandler

Property Value

Applies to