SendMessageContext

Context object for additional message metadata

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The current page or view the user is on

Link copied to clipboard

The ID of the last message in the conversation

Link copied to clipboard

Response to a UI prompt (not a text conversation message). Operator App SDK clients set this to the control-string sentinel "APPROVAL_ACTION" when the request is resuming a paused tool call after an operator approval decision; in that case the structured decision context lives on the sibling approvalAction member and the chat agent reads from there. Preserved as a String for back-compat: pre-typed-approval clients still encode arbitrary UI-prompt responses as JSON in this field, and the chat agent parses them out during the transition.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String