Class BaseAgentConfig.AgentRefConfig

java.lang.Object
com.google.adk.agents.BaseAgentConfig.AgentRefConfig
Enclosing class:
BaseAgentConfig

public static class BaseAgentConfig.AgentRefConfig extends Object
Configuration for referencing other agents (subagents). Supports both config-based references (YAML files) and programmatic references (via code registry).
  • Constructor Details

    • AgentRefConfig

      public AgentRefConfig()
    • AgentRefConfig

      public AgentRefConfig(String configPath)
      Constructor for config-based agent reference.
      Parameters:
      configPath - The path to the subagent's config file
  • Method Details

    • configPath

      public String configPath()
    • setConfigPath

      public void setConfigPath(String configPath)
    • code

      public String code()
    • setCode

      public void setCode(String code)