Interface ToolExecutedEventListener

All Superinterfaces:
AiServiceListener<ToolExecutedEvent>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ToolExecutedEventListener extends AiServiceListener<ToolExecutedEvent>
A listener for ToolExecutedEvent, which represents an event that occurs after a tool is executed within an AI Service invocation. This interface extends AiServiceListener, specializing it for handling events specifically related to tool executions. Classes implementing this interface should handle scenarios where a tool is executed during an AI Service invocation. These events may occur multiple times within a single invocation, and they include details about the tool execution request and the corresponding execution result.