McpAppModelContext
data class McpAppModelContext(val toolCallId: String, val app: String, val content: JsonArray?, val structuredContent: JsonElement?)(source)
What a view wants the model to know (ui/update-model-context): its latest content blocks and structuredContent. Attach toDataPart to the next user turn; each view's newest replaces its previous one.
Functions
Link copied to clipboard
As a DataPart.MODEL_CONTEXT part for the next user turn.