ToolRegistry
classin packageklyn.llm
public class ToolRegistry extends Object:
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 |
Returns true when at least one tool is registered. |
Methods
| Modifier and Type |
Member |
Description |
| public static |
builder |
Creates a fluent builder. |
| public |
definitions |
Returns provider-ready tool definitions. |
| public |
execute |
Executes one tool call and returns its textual result. |
| public static |
extractAnnotationValue |
No summary. |