fromToolInstances

fun fromToolInstances(name: String, description: String, notes: String, vararg toolInstances: Any): LlmReference

Create an LlmReference from tool instances. Accepts both Tool objects directly and objects with @LlmTool annotated methods.

Return

An LlmReference with the given tools

Parameters

name

The reference name (used as tool prefix)

description

A description of what this reference provides

notes

The text content to include in the prompt

toolInstances

Tool objects or objects containing @LlmTool annotated methods