toolCallFailureHandler
A customizable handler invoked when a tool call fails during execution. Defines the behavior for responding to a failure by providing access to the failed tool, its arguments, and the associated exception. This allows for logging, error handling, or recovery strategies to be applied.