class RubyLLM::MCP::Result

The result of calling an MCP tool. Text, files, and structured data each have their own reader.

result = linear.list_issues(query: "bug")
result.text        # => "Found 3 issues..."
result.structured  # => { "issues" => [...] }
result.attachments # => [#<RubyLLM::Attachment ...>]