ToolRegistry
class in package klyn.llm

    public class ToolRegistry extends Object:

Object
└ ToolRegistry

Registry of callable tools exposed to an LLM session.

The registry is built from one or more interfaces and their implementations. Reflection is used to generate JSON schemas and to invoke matching methods.

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | isEmpty `isEmpty as Boolean:` | Returns true when at least one tool is registered.

Inherited Properties
property Inherited Properties from Object: type
Methods

Modifier and Type | Member | Description
--- | --- | ---
public static | builder `builder() as ToolRegistryBuilder:` | Creates a fluent builder.
public | definitions `definitions() as ArrayList:` | Returns provider-ready tool definitions.
public | execute `execute(call as ToolCall) as String:` | Executes one tool call and returns its textual result.
public static | extractAnnotationValue `extractAnnotationValue(annotationRaw as String, key as String) as String:` | No summary.

Inherited Methods
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml