@@ -59,7 +59,8 @@ a small team of subagents and assign them to a coordinator agent:
5959 root = Agent(
6060 name="travel_planner", # coordinator agent
6161 sub_agents=[weather_agent, flight_agent],
62- # Auto-injects: request_task_weather_checker, request_task_flight_booker
62+ # Auto-injects delegation tools named after each subagent:
63+ # weather_checker, flight_booker
6364 )
6465 ```
6566
@@ -68,7 +69,8 @@ a small team of subagents and assign them to a coordinator agent:
6869 In ADK Go v2.0.0, the `Mode` field on `llmagent.Config` accepts the same
6970 mode strings as Python: `"chat"`, `"task"`, and `"single_turn"`. Declaring
7071 `SubAgents` on the coordinator agent causes ADK to automatically generate
71- `request_task_<name>` delegation tools, exactly as in Python.
72+ a delegation tool for each subagent, named after the subagent itself,
73+ exactly as in Python.
7274
7375 ```go
7476 --8<-- "examples/go/snippets/workflows/collaboration/main.go:get-started"
@@ -130,7 +132,7 @@ each mode:
130132 <tr>
131133 <td><strong>Return to parent</strong></td>
132134 <td>Manual (via transfer)</td>
133- <td>Automatic (via <code>complete_task </code>)</td>
135+ <td>Automatic (via <code>finish_task </code>)</td>
134136 <td>Automatic (with result)</td>
135137 </tr>
136138 </tbody >
@@ -160,11 +162,11 @@ automatically advances to the next node based on the logic of the workflow
160162agent's graph.
161163
162164** As a transferee from an LlmAgent:** When a parent *** LlmAgent*** transfers
163- control to a task agent via ` request_task ` , the task agent executes until it
164- calls ` complete_task ` . At that point, control automatically returns to the
165- originating agent that initiated the transfer. This behavior differs from
166- default, chat *** mode*** agents, which require explicit ` transfer_to_agent `
167- calls to hand back control.
165+ control to a task agent via the delegation tool named after that subagent, the
166+ task agent executes until it calls ` finish_task ` . At that point, control
167+ automatically returns to the originating agent that initiated the transfer.
168+ This behavior differs from default, chat *** mode*** agents, which require
169+ explicit ` transfer_to_agent ` calls to hand back control.
168170
169171<table >
170172 <thead >
0 commit comments