diff --git a/src/google/adk/tools/transfer_to_agent_tool.py b/src/google/adk/tools/transfer_to_agent_tool.py index b791a25..6d2a5a9 100644 --- a/src/google/adk/tools/transfer_to_agent_tool.py +++ b/src/google/adk/tools/transfer_to_agent_tool.py @@ -16,5 +16,12 @@ from .tool_context import ToolContext def transfer_to_agent(agent_name: str, tool_context: ToolContext): - """Transfer the question to another agent.""" + """Transfer the question to another agent. + + This tool hands off control to another agent when it's more suitable to + answer the user's question according to the agent's description. + + Args: + agent_name: the agent name to transfer to. + """ tool_context.actions.transfer_to_agent = agent_name