Class DefaultMcpClientBuilder<T>
java.lang.Object
dev.langchain4j.agentic.mcp.DefaultMcpClientBuilder<T>
- All Implemented Interfaces:
InternalAgent, McpClientBuilder<T>, AgentInstance, InvocationHandler
public class DefaultMcpClientBuilder<T>
extends Object
implements McpClientBuilder<T>, InternalAgent, InvocationHandler
-
Method Summary
Modifier and TypeMethodDescriptionagentId()voidbooleanasync()async(boolean async) build()listener()listener(AgentListener agentListener) name()parent()voidregisterInheritedParentListener(AgentListener parentListener) voidsetParent(InternalAgent parent) topology()Class<?> type()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AgentInstance
as, leaf, optionalMethods inherited from interface InternalAgent
allowChatMemory, allowStreamingOutput, compensateOnError, enableCrossAgentCompensation, setAgentId
-
Method Details
-
toolName
- Specified by:
toolNamein interfaceMcpClientBuilder<T>
-
inputKeys
- Specified by:
inputKeysin interfaceMcpClientBuilder<T>
-
outputKey
- Specified by:
outputKeyin interfaceMcpClientBuilder<T>
-
async
- Specified by:
asyncin interfaceMcpClientBuilder<T>
-
listener
- Specified by:
listenerin interfaceMcpClientBuilder<T>
-
build
- Specified by:
buildin interfaceMcpClientBuilder<T>
-
invoke
-
setParent
- Specified by:
setParentin interfaceInternalAgent
-
registerInheritedParentListener
- Specified by:
registerInheritedParentListenerin interfaceInternalAgent
-
appendId
- Specified by:
appendIdin interfaceInternalAgent
-
listener
- Specified by:
listenerin interfaceInternalAgent
-
type
- Specified by:
typein interfaceAgentInstance
-
plannerType
- Specified by:
plannerTypein interfaceAgentInstance
-
name
- Specified by:
namein interfaceAgentInstance
-
agentId
- Specified by:
agentIdin interfaceAgentInstance
-
description
- Specified by:
descriptionin interfaceAgentInstance
-
outputType
- Specified by:
outputTypein interfaceAgentInstance
-
outputKey
- Specified by:
outputKeyin interfaceAgentInstance
-
async
public boolean async()- Specified by:
asyncin interfaceAgentInstance
-
arguments
- Specified by:
argumentsin interfaceAgentInstance
-
parent
- Specified by:
parentin interfaceAgentInstance
-
subagents
- Specified by:
subagentsin interfaceAgentInstance
-
topology
- Specified by:
topologyin interfaceAgentInstance
-