registerToolExecutor abstract method
Register a tool executor function
toolName - Name of the tool
executor - Function that executes the tool
Implementation
void registerToolExecutor(
String toolName,
Future<ToolResult> Function(ToolCall toolCall) executor,
);