onToolError property
Fired when a tool encounters an error. Can return a recovery action.
The returned ToolRecoveryAction tells the system how to proceed.
Implementation
final Future<ToolRecoveryAction> Function(ToolErrorEvent event)? onToolError;
Fired when a tool encounters an error. Can return a recovery action.
The returned ToolRecoveryAction tells the system how to proceed.
final Future<ToolRecoveryAction> Function(ToolErrorEvent event)? onToolError;