Delegation

@Serializable
@SerialName(value = "delegation")
data class Delegation(val agent: String? = null, val task: String? = null) : ToolKind(source)

Hands task to another agent (agent); its run arrives as ToolPart.subagent.

Constructors

Link copied to clipboard
constructor(agent: String? = null, task: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val task: String?