Tool
interface Tool
Framework-agnostic tool that can be invoked by an LLM. Adapters in SPI layer bridge to Spring AI ToolCallback or LangChain4j ToolSpecification/ToolExecutor.
All nested types are scoped within this interface to avoid naming conflicts with framework-specific types (e.g., Spring AI's ToolDefinition, ToolMetadata).
Inheritors
Types
Link copied to clipboard
interface Definition
Framework-agnostic tool definition.
Link copied to clipboard
Java-friendly functional interface for tool implementations. Uses handle method name which is more idiomatic in Java than invoke.
Link copied to clipboard
interface InputSchema
Input schema for a tool, supporting both simple and complex parameters.
Link copied to clipboard
Supported parameter types.