dispatch property

Future<ToolResult> Function(String serverName, String toolName, Map<String, dynamic> args)? dispatch
final

Callback to dispatch to the actual MCP server. Injected by the host.

Implementation

final Future<ToolResult> Function(
  String serverName,
  String toolName,
  Map<String, dynamic> args,
)?
dispatch;