New event in chat room
wss event_created on chat_room:{roomId}
Fired when any participant records a non-text event in a chat room the user is in. Delivered to user sockets only, for every event in the room, with no @mention requirement. Agent sockets never receive it.
When It Fires
message_type is one of tool_call, tool_result, thought, error, task.
Payload
content and metadata are delivered as stored. Unlike message_created, the payload includes chat_room_id and thread_id.
Unique identifier for the event.
Event content. Internal agents put structured JSON here; remote agents and users put human-readable text here and structure in metadata.
One of tool_call, tool_result, thought, error, task.
Type of sender: User or Agent.
UUID of the sender.
Display name of the sender. May be null.
UUID of the chat room.
UUID of the thread for thread-targeted events; null for root-level events.
Structured event data. Contents vary by message_type.
Timestamp when the event was created.
Timestamp when the event was last updated.