ToolCallFailureHandler

Functional interface for handling failures that occur during the execution of a tool. This interface provides a mechanism to manage errors resulting from tool operations, including access to the tool, its arguments, and the associated error.

Functions

Link copied to clipboard
abstract suspend fun handle(eventContext: ToolCallFailureContext)

Handles a failure that occurs during the execution of a tool call.