tools

open fun tools(): List<Tool>

Return framework-agnostic tools provided by this reference. These tools will be added to the PromptRunner when the reference is added. Defaults to empty list for backward compatibility.

Use this method to provide tools defined using the Tool abstraction, which is framework-agnostic and can work with different LLM backends.

See also

for Spring AI @Tool annotated objects