Interface ToolExecutedEvent

All Superinterfaces:
LLMInteractionEvent
All Known Implementing Classes:
DefaultToolExecutedEvent

public interface ToolExecutedEvent extends LLMInteractionEvent
Invoked with a tool response from an LLM. It is important to note that this can be invoked multiple times when tools exist.
  • Method Summary

    Modifier and Type
    Method
    Description
    dev.langchain4j.agent.tool.ToolExecutionRequest
     
     

    Methods inherited from interface io.quarkiverse.langchain4j.audit.LLMInteractionEvent

    sourceInfo
  • Method Details

    • request

      dev.langchain4j.agent.tool.ToolExecutionRequest request()
      Returns:
      the tool execution request
    • result

      String result()
      Returns:
      the result of the tool execution