Package com.embabel.agent.spi.support
Object ToolResolutionHelper
-
- All Implemented Interfaces:
public class ToolResolutionHelperUtility for resolving ToolGroups and decorating tools. Provides consistent tool resolution across streaming, thinking, and standard LLM operations.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ToolResolutionHelperINSTANCE
-
Method Summary
Modifier and Type Method Description final List<Tool>resolveAndDecorate(LlmInteraction interaction, AgentProcess agentProcess, Action action, ToolDecorator toolDecorator)Resolves ToolGroups from the interaction and decorates all tools. -
-
Method Detail
-
resolveAndDecorate
final List<Tool> resolveAndDecorate(LlmInteraction interaction, AgentProcess agentProcess, Action action, ToolDecorator toolDecorator)
Resolves ToolGroups from the interaction and decorates all tools.
- Parameters:
interaction- LLM interaction containing tools and tool groupsagentProcess- Process context for accessing toolGroupResolveraction- Optional action context for decorationtoolDecorator- Decorator to make tools platform-aware- Returns:
List of resolved and decorated tools
-
-
-
-