SpringToolCallbackAdapter

Adapts an Embabel Tool to Spring AI's ToolCallback interface.

This adapter bridges the framework-agnostic Tool abstraction to Spring AI, allowing tools defined using the Embabel API to be used with Spring AI's chat models and tool calling infrastructure.

Constructors

Link copied to clipboard
constructor(tool: Tool)

Functions

Link copied to clipboard
open fun call(toolInput: String): String
Link copied to clipboard
open fun getToolDefinition(): <Error class: unknown class>
Link copied to clipboard
open fun getToolMetadata(): <Error class: unknown class>