ADK for TypeScript: API Reference
    Preparing search index...

    Function isRoutableLlmAgent

    • Whether the agent to run can transfer to any other agent in the agent tree.

      An agent is transferable if:

      • It is an instance of LlmAgent.
      • All its ancestors are also transferable (i.e., they have disallowTransferToParent set to false).

      Parameters

      • agentToRun: BaseAgent

        The agent to check for transferability.

      Returns boolean

      True if the agent can transfer, False otherwise.