Package com.embabel.agent.api.tool
See: Description
-
Class Summary Class Description AgenticTool An agentic tool that uses an LLM to orchestrate other tools. ListSink Sink that collects artifacts into a mutable list. CompositeSink Sink that delegates to multiple sinks. ArtifactSinkingTool Tool decorator that captures artifacts from tool results, filters and transforms them, then sends to one or more sinks. ReplanningTool Tool decorator that executes the wrapped tool, adds its result to the blackboard, then throws ReplanRequestedException to terminate the tool loop and trigger replanning. ReplanDecision Decision returned by ReplanDecider to indicate whether replanning is needed. ReplanContext Context provided to ReplanDecider for making replanning decisions. ConditionalReplanningTool Tool decorator that executes the wrapped tool, then conditionally triggers replanning based on the result. Builder Builder step that requires specifying the input type. Subagent A Tool that delegates to another agent as a subagent/handoff. Parameter A single parameter for a tool. Text Simple text result WithArtifact Result with additional artifact (e.g. Error Error result ToolObject Holds one or more annotated tool objects. TypeBasedInputSchema InputSchema implementation that generates JSON schema from a Class type. TypedTool Tool with strongly typed input and output. TypedToolFactoryKt -
Interface Summary Interface Description ArtifactSinkFactory Factory interface for creating artifact-sinking tool decorators. ArtifactSink Destination for captured artifacts from tool results. DelegatingTool Interface for tool decorators that wrap another tool. MatryoshkaTool A tool that contains other tools, enabling progressive tool disclosure. MethodToolFactory Factory interface for creating tools from annotated methods. ReplanningToolFactory Factory interface for creating replanning tool decorators. ReplanningToolBlackboardUpdater Callback to update the blackboard with tool result content. ReplanDecider Functional interface for deciding whether to trigger replanning based on tool results. ToolInfo Tool information including definition and metadata, without execution logic. Definition Framework-agnostic tool definition. InputSchema Input schema for a tool, supporting both simple and complex parameters. Metadata Optional metadata about a tool's behavior. Result Result of tool execution with optional artifacts. Function Functional interface for simple tool implementations. Handler Java-friendly functional interface for tool implementations. Tool Framework-agnostic tool that can be invoked by an LLM. ToolControlFlowSignal Marker interface for exceptions that represent control flow signals rather than errors. TypedToolFactory Factory interface for creating strongly typed tools. -
Enum Summary Enum Description ParameterType Supported parameter types.