metadata

val metadata: JsonObject?(source)

App- or protocol-defined metadata (AI SDK UIMessage.metadata), e.g. the A2A contextId / taskId a remote agent's reply belongs to.