Interface: AguiMessage
@kortexya/reasoninglayer / Agui / AguiMessage
Interface: AguiMessage
Defined in: src/types/agui.ts:81
A conversation message in an AG-UI run.
Remarks
The AG-UI wire contract is camelCase (toolCallId, toolCalls); the
normalizer emits those keys verbatim.
Example
const message: AguiMessage = { id: 'm1', role: 'user', content: 'Which patients are at risk?',};Properties
content?
optionalcontent:string|null
Defined in: src/types/agui.ts:83
Text content.
id?
optionalid:string|null
Defined in: src/types/agui.ts:85
Message id.
role
role:
AguiRole
Defined in: src/types/agui.ts:87
The author of the message.
toolCallId?
optionaltoolCallId:string|null
Defined in: src/types/agui.ts:89
For tool messages: the call this message answers.
toolCalls?
optionaltoolCalls:AguiToolCall[] |null
Defined in: src/types/agui.ts:91
Tool calls issued by an assistant message.