IMcpToolHandler Interface
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.
Defines the contract for invoking MCP tools within declarative workflows.
public interface IMcpToolHandler
type IMcpToolHandler = interface
Public Interface IMcpToolHandler
Remarks
This interface allows the MCP tool invocation to be abstracted, enabling different implementations for local development, hosted workflows, and testing scenarios.
Methods
| Name | Description |
|---|---|
| InvokeToolAsync(String, String, String, IDictionary<String,Object>, IDictionary<String,String>, String, CancellationToken) |
Invokes an MCP tool on the specified server. |