Auto-generated tool for transferring control to a sub-agent.
When an agent has sub_agents, this tool is automatically injected
into its available tools. The LLM calls transfer_to_agent(agent_name)
to hand off execution to a sub-agent.
This mirrors Python ADK's transfer_to_agent auto-tool.
Summary
Functions
@spec new([ADK.Agent.t()]) :: ADK.Tool.FunctionTool.t()
Build a transfer tool for the given list of sub-agents.
@spec tool_name() :: String.t()
The canonical tool name.