struct

Autobot::Mcp::Client::CallResult

Inherits Struct < Value < Object

A tools/call outcome. MCP reports a failing tool as a normal response carrying isError, so the flag has to travel with the content.

Constructors

new(content : String, failed : Bool)
Source

Instance methods

clone
Source
content
copy_with(content _content = @content, failed _failed = @failed)
Source
failed
success?
Source