Class EventPublishingTool

  • All Implemented Interfaces:
    com.embabel.agent.api.tool.DelegatingTool , com.embabel.agent.api.tool.Tool , com.embabel.agent.api.tool.ToolInfo

    
    public final class EventPublishingTool
     implements DelegatingTool
                        

    Tool decorator that publishes events for tool calls.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Tool.Definition getDefinition() Tool definition for LLM
      Tool.Metadata getMetadata() Optional metadata
      Tool getDelegate() The underlying tool being delegated to.
      Tool.Result call(String input) Execute the tool with JSON input.
      • Methods inherited from class com.embabel.agent.api.tool.Tool

        withDescription, withName, withNote
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait