hashbrown

AssistantMessage

AssistantMessage
@typeOutput
@typeToolUnion
AnyTool
content
Output
encryptedValue
string

Opaque provider continuation data preserved across AG-UI runs. Hashbrown does not inspect or display this value.

metadata
Metadata

Provider metadata preserved across AG-UI runs.

reasoning
string

Human-readable reasoning. When reasoningDetails is present, this value is derived from the ordered records' nonempty content.

reasoningDetails
readonly Readonly<ReasoningMessage>[]

Ordered AG-UI reasoning records, including opaque continuation data such as encrypted values, subagent run IDs, and metadata. When present, these records take precedence over reasoning.

role
'assistant'
serverToolCalls
readonly ServerToolCall[]

Tool calls the agent server executed itself, in the order the model made them, as ServerToolCall records. Present only when the message carries at least one.

toolCalls
ToolCall<ToolUnion>[]