Message.tool constructor
Message.tool(
- Contents contents
Creates a tool message from the given contents.
Implementation
factory Message.tool(Contents contents) {
return Message(role: Role.tool, contents: contents);
}