Class MapperAgentInvoker

java.lang.Object
dev.langchain4j.agentic.internal.AbstractAgentInvoker
dev.langchain4j.agentic.internal.MapperAgentInvoker
All Implemented Interfaces:
AgentInvoker, InternalAgent, AgentInstance

public class MapperAgentInvoker extends AbstractAgentInvoker
Wraps an existing AgentInvoker to inject a specific item from a collection into the agent's invocation arguments. Each instance represents one element of a parallel mapper execution, with a unique name, agentId, and outputKey.