Class PerGoalToolCallbackFactory

  • All Implemented Interfaces:

    
    public final class PerGoalToolCallbackFactory
    
                        

    Generic tool callback provider that publishes a tool callback for each goal. Each invocation will result in a distinct AgentProcess being executed. Multiple instances of this class can be created, each with different configuration, for different purposes. Tools can be exposed to actions or via an MCP server etc. Return a tool callback for each goal taking user input. If the goal specifies startingInputTypes, add a tool for each of those input types. Add a continue tool for any process that requires user input and is waiting for a form submission.