resolveAndDecorate

fun resolveAndDecorate(interaction: LlmInteraction, agentProcess: AgentProcess?, action: Action?, toolDecorator: ToolDecorator): List<Tool>

Resolves ToolGroups from the interaction and decorates all tools.

Return

List of resolved and decorated tools

Parameters

interaction

LLM interaction containing tools and tool groups

agentProcess

Process context for accessing toolGroupResolver

action

Optional action context for decoration

toolDecorator

Decorator to make tools platform-aware