ToolCallback
Tool callback function type (matches ToolCallback<Args>).
Called when a tool is invoked with the given arguments.
Implementation
typedef ToolCallback =
Future<CallToolResult> Function(
Map<String, Object?> args,
ToolCallMeta? meta,
);