Optional metadata object for storing additional custom information about this message.
namestring
Optional name associated with this message.
textstring
Required
The text content of the message to create.
typestring
Required
The type of message to create. 'user' for user messages, 'bot' for bot responses, 'context' for contextual information, 'instruction' for instructions, 'backstory' for background information, 'reasoning' for reasoning steps, 'activity' for activity logs.
entitiesarray
Optional array of known entities to associate with this message. Entities are structured data extracted from the message text.
descriptionstring
Optional description for this message.
conversationIdstring
Required
The unique identifier of the conversation to add the message to. Obtain this from list_conversations or when creating a new conversation.
Observable output
data
Required
Data from the action execution
errorstring
Error if any occurred during the execution of the action
successfulboolean
Required
Whether or not the action execution was successful or not