A2uiAction
data class A2uiAction(val surfaceId: String, val name: String, val sourceComponentId: String, val context: JsonObject, val userMessage: String? = null, val timestamp: String = Instant.now().toString(), val dataModel: JsonElement? = null)(source)
A user action on a surface, as the A2UI renderer-to-agent action message (toMessage).
Constructors
Functions
Link copied to clipboard
This action as the data parts of a user turn: the A2UI action message (DataPart.A2UI) and, when the surface asked for it, its data model (DataPart.A2UI_DATA_MODEL).