Package com.embabel.agent.api.tool
See: Description
-
Class Summary Class Description AgenticTool An agentic tool that uses an LLM to orchestrate other tools. 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. Parameter A single parameter for a tool. Text Simple text result WithArtifact Result with additional artifact (e.g. Error Error result TypeBasedInputSchema InputSchema implementation that generates JSON schema from a Class type. -
Interface Summary Interface Description MatryoshkaTool A tool that contains other tools, enabling progressive tool disclosure. 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. -
Enum Summary Enum Description ParameterType Supported parameter types.