# Uses of Class
com.google.adk.agents.ConfigAgentUtils.ConfigurationException

Packages that use ConfigAgentUtils.ConfigurationException
Package
Description
com.google.adk.agents
com.google.adk.tools
com.google.adk.tools.mcp

- ## Uses of ConfigAgentUtils.ConfigurationException in com.google.adk.agents

  Methods in com.google.adk.agents that throw ConfigAgentUtils.ConfigurationException
  Modifier and Type
  Method
  Description
  `static BaseAgent`
  ConfigAgentUtils.`fromConfig(String configPath)`
  Load agent from a YAML config file path.
  `static LlmAgent`
  LlmAgent.`fromConfig(LlmAgentConfig config, String configAbsPath)`
  Creates an LlmAgent from configuration with full subagent support.
  `static LoopAgent`
  LoopAgent.`fromConfig(LoopAgentConfig config, String configAbsPath)`
  Creates a LoopAgent from configuration.
  `static ParallelAgent`
  ParallelAgent.`fromConfig(ParallelAgentConfig config, String configAbsPath)`
  Creates a ParallelAgent from configuration.
  `static SequentialAgent`
  SequentialAgent.`fromConfig(SequentialAgentConfig config, String configAbsPath)`
  Creates a SequentialAgent from configuration.
  `static <T> void`
  ConfigAgentUtils.`resolveAndSetCallback(@Nullable List<BaseAgentConfig.CallbackRef> refs, Class<T> callbackBaseClass, String callbackTypeName, Consumer<com.google.common.collect.ImmutableList<T>> builderSetter)`
  Resolves and sets callbacks from configuration.
  `static void`
  ConfigAgentUtils.`resolveAndSetCommonAgentFields(BaseAgent.Builder<?> builder, BaseAgentConfig config, String configAbsPath)`
  Configures the common properties of an agent builder from the configuration.
  `static com.google.common.collect.ImmutableList<BaseAgent>`
  ConfigAgentUtils.`resolveSubAgents(List<BaseAgentConfig.AgentRefConfig> subAgentConfigs, String configAbsPath)`
  Resolves subagent configurations into actual BaseAgent instances.
  `static void`
  ConfigAgentUtils.`setBaseAgentCallbacks(BaseAgentConfig config, Consumer<com.google.common.collect.ImmutableList<com.google.adk.agents.Callbacks.BeforeAgentCallbackBase>> beforeSetter, Consumer<com.google.common.collect.ImmutableList<com.google.adk.agents.Callbacks.AfterAgentCallbackBase>> afterSetter)`
  Sets the common agent callbacks (before/after agent) from the config to the builder setters.

- ## Uses of ConfigAgentUtils.ConfigurationException in com.google.adk.tools

  Methods in com.google.adk.tools that throw ConfigAgentUtils.ConfigurationException
  Modifier and Type
  Method
  Description
  `static BaseTool`
  AgentTool.`fromConfig(BaseTool.ToolArgsConfig args, String configAbsPath)`
  `static BaseTool`
  BaseTool.`fromConfig(BaseTool.ToolConfig config, String configAbsPath)`
  Creates a tool instance from a config.
  `static ExampleTool`
  ExampleTool.`fromConfig(BaseTool.ToolArgsConfig args)`
  Overload to match resolver which passes only ToolArgsConfig.
  `static ExampleTool`
  ExampleTool.`fromConfig(BaseTool.ToolArgsConfig args, String configAbsPath)`
  Factory from YAML tool args.

- ## Uses of ConfigAgentUtils.ConfigurationException in com.google.adk.tools.mcp

  Methods in com.google.adk.tools.mcp that throw ConfigAgentUtils.ConfigurationException
  Modifier and Type
  Method
  Description
  `static McpToolset`
  McpToolset.`fromConfig(BaseTool.ToolConfig config, String configAbsPath)`
  Creates a McpToolset instance from a config.