Module message

Module message 

Source
Expand description

Core types for Agent messages and tool calls.

Structs§

Message
A message in the conversation.
MessageMetadata
Optional metadata associating a message with a run and step.
ToolCall
A tool call requested by the LLM.

Enums§

Role
Message role.
Visibility
Message visibility — controls whether a message is exposed to external API consumers.

Functions§

gen_message_id
Generate a time-ordered UUID v7 message identifier.