Interface McpClientBuilder<T>
- All Known Implementing Classes:
DefaultMcpClientBuilder
public interface McpClientBuilder<T>
-
Method Summary
Modifier and TypeMethodDescriptionactivationCondition(String description, Predicate<AgenticScope> activationCondition) Sets the condition, with its description, under which the agent runs when it is invoked as a subagent of an agentic system.default McpClientBuilder<T> activationCondition(Predicate<AgenticScope> activationCondition) Sets the condition under which the agent runs when it is invoked as a subagent of an agentic system.async(boolean async) build()listener(AgentListener agentListener)
-
Method Details
-
toolName
-
inputKeys
-
outputKey
-
async
-
listener
-
activationCondition
Sets the condition under which the agent runs when it is invoked as a subagent of an agentic system. When the condition is false the MCP tool is not called and the agent is skipped. It can be evaluated more than once, so it must be free of side effects. -
activationCondition
McpClientBuilder<T> activationCondition(String description, Predicate<AgenticScope> activationCondition) Sets the condition, with its description, under which the agent runs when it is invoked as a subagent of an agentic system. When the condition is false the MCP tool is not called and the agent is skipped. It can be evaluated more than once, so it must be free of side effects. -
build
T build()
-