struct

Anthropic::MCPToolResultContent

Inherits JSON::Serializable < Struct < Value < Object

MCP tool result content block

Constructors

new(tool_use_id : String, content : JSON::Any, is_error : Bool = false)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

content
Source
is_error?
Source
tool_use_id
Source
type
Source