Agent Tool
Tool that can be used to execute an agent. Supports "Subagent" or "handoff" style usage.
This is the framework-agnostic version that implements Embabel's Tool interface.
Constructors
Properties
Functions
Execute the tool with JSON input and out-of-band context.
Execute the tool with JSON input.
Extension function to convert an Embabel Tool to a Spring AI ToolCallback.
Wrap this tool to conditionally await before execution.
Wrap this tool to always require confirmation before execution.
Create a new tool with additional definition metadata entries merged in. Existing keys are overwritten by the new values.
Create a new tool with a single definition metadata entry added.
Create a new tool with a different description. Useful for providing context-specific descriptions while keeping the same functionality.
Extension function to wrap a Tool with event publication.