Llm Tool
Marks a method as a tool that can be invoked by an LLM. Use with com.embabel.agent.api.tool.Tool.Companion.fromInstance or com.embabel.agent.api.tool.Tool.Companion.fromMethod to create Tool instances.
Types
Properties
Optional category for use with MatryoshkaTools. When the containing class has @MatryoshkaTools, tools with the same category are grouped together and exposed when that category is selected. Leave empty for tools that should always be exposed.
Description of what the tool does. Used by LLM to decide when to call it.
Application-level metadata entries merged into com.embabel.agent.api.tool.Tool.Definition.metadata. Used for routing, categorization, feature flags, etc. — not sent to the LLM.
Whether to return the result directly without further LLM processing.