Message.tool constructor

Message.tool(
  1. String content,
  2. String toolCallId
)

Implementation

factory Message.tool(String content, String toolCallId) =>
    ToolMessage(content: Content.text(content), toolCallId: toolCallId);