# `ADK.Tool.TransferTool`
[🔗](https://github.com/zeroasterisk/adk-elixir/blob/main/lib/adk/tool/transfer_tool.ex#L1)

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.

# `new`

```elixir
@spec new([ADK.Agent.t()]) :: ADK.Tool.FunctionTool.t()
```

Build a transfer tool for the given list of sub-agents.

# `tool_name`

```elixir
@spec tool_name() :: String.t()
```

The canonical tool name.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
