agent_switch
Name of the target agent to switch to.
Name of the agent initiating the switch. Omitted from the payload when empty.
Optional human-readable explanation for the switch. Omitted from the payload when empty.
Whether the target agent should inherit the current conversation context. Defaults to
True.Additional top-level keys merged into the returned dictionary.
A dictionary containing the agent-switch payload, with any
extra keys merged in at the top level.AGENT_SWITCH_KEY
AgentCard
Descriptor advertising an agent’s identity and capabilities.Fields
Unique identifier for the agent.
Human-readable name of the agent.
Description of what the agent does.
List of capabilities the agent provides.
Arbitrary additional metadata about the agent.
A2AMessage
A message exchanged between two agents.Fields
Identifier of the sending agent.
Identifier of the receiving agent.
Type discriminator for the message (e.g.
'text').Message contents keyed by field name.