Add Message to Chat#
Adds a structured message to the chat.
| ThreadGuid* | Required chat GUID. |
| Role | Role of the message. |
| Content | Content of the message; for agent flow, usually the user's text. |
| FolderGuids | [Array] Optional folders whose content is available to the message. |
| FileGuids | [Array] Optional files whose content is available to the message. |
| UseInterpreter | Allow interpreter for the message. |
| Tools | Optional tool definitions stored in the context of the message. |
| ResponseFormat | [Object] Optional required response format for the model. |
| ApiTokenGuid | [Text] Optional allowed override of the agent API token; otherwise, the assistant's token is used. |
| Timeout | [Number] HTTP request timeout in seconds; default value is 300. |
| MessageData | Complete object of the created message. |
| MessageGuid | [Text] GUID of the created message. |
| Processing Level | Select the error handling level. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Message Level | Select the level of messages that will be output by the blocks during operation. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Error Text | [Text] Returns detailed information about the error in case of incorrect execution of the block's work. |