ToolKind
The protocol-independent meaning of a tool call. Backends map their protocol onto it (an on-device tool declares it, AG-UI SUBAGENT_* runs and the Pydantic AI Harness tool conventions are translated in core), so UI elements only ever look at this.
Inheritors
Types
Link copied to clipboard
@Serializable
@SerialName(value = "delegation")
Hands task to another agent (agent); its run arrives as ToolPart.subagent.