class Riffer::Messages::Tool

Represents a tool execution result in a conversation.

msg = Riffer::Messages::Tool.new( “The weather is sunny.”, tool_call_id: “call_123”, name: “weather_tool” ) msg.role # => :tool msg.tool_call_id # => “call_123” msg.error? # => false