ADK.Flow.Processors.AgentTransfer (adk_ex v1.1.0)

Copy Markdown View Source

Request processor that injects the transfer_to_agent tool and transfer instructions into the LLM request when the current agent has transfer targets.

Transfer targets include:

  • Sub-agents of the current agent
  • Parent agent (unless disallow_transfer_to_parent is set)
  • Peer agents (unless disallow_transfer_to_peers is set)

Summary

Functions

process(ctx, request, flow_state)