public annotation Tool:
Declares that a method can be exposed as an LLM tool.
The name attribute is the canonical external name sent to providers. When omitted, Klyn derives a conventional name from the interface and method.
interface MathTools: @Tool(name="math.add", description="Add two integers") public add(a as Int, b as Int) as String
| Modifier and Type | Member | Description |
|---|---|---|
| public property | descriptiondescription as String = "" |
Human-readable tool description. |
| public property | namename as String = null |
External tool name visible by the LLM provider. |