Agentic Tool
An agentic tool that uses an LLM to orchestrate other tools.
Unlike a regular Tool which executes deterministic logic, an AgenticTool tool uses an LLM to decide which sub-tools to call based on a prompt.
Parameters
Tool definition (name, description, input schema)
Optional tool metadata
Llm to use for orchestration
Sub-tools available for the LLM to orchestrate
Create prompt for the LLM to use. Specify to customize behavior
Constructors
Create an agentic tool that will need to be customized to add tools (and possibly specify an LLM) to be useful.
Functions
Execute the tool with JSON input.
Extension function to convert an Embabel Tool to a Spring AI ToolCallback.
Create a copy with different model.
Create a copy with fixed syste prompt. The system prompt describes the supervisor behavior.
Create a copy with tools extracted from an object with @LlmTool methods. If the object has no @LlmTool methods, returns this unchanged.
Create a copy with tools extracted from multiple objects with @LlmTool methods. Objects without @LlmTool methods are silently ignored.
Create a copy with additional tools.