content represents the content of the message.
Optional reasoningreasoning represents the reasoning content of the message.
role represents the role of the sender (user or assistant).
Optional tooltoolCalls represents the tool calls made by the assistant.
ChatMessage represents an object that contains the content and a role. It can be used for input and returned as part of the response.