ChatMessage.tool constructor
Type of message that is the response of calling a tool.
Implementation
factory ChatMessage.tool({
required final String toolCallId,
required final String content,
}) => ToolChatMessage(toolCallId: toolCallId, content: content);