Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/google/adk/tools/transfer_to_agent_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,9 @@
def transfer_to_agent(agent_name: str, tool_context: ToolContext) -> None:
"""Transfer the question to another agent.

This tool hands off control to another agent when it's more suitable to
Use this tool to hand off control to another agent that is more suitable to
answer the user's question according to the agent's description.

Note:
For most use cases, you should use TransferToAgentTool instead of this
function directly. TransferToAgentTool provides additional enum constraints
that prevent LLMs from hallucinating invalid agent names.

Args:
agent_name: the agent name to transfer to.
"""
Expand Down