struct

MCP::Protocol::Resource

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(name : String, uri : String, description : Nil | String = nil, mime_type : Nil | String = nil, title : Nil | String = nil, annotations : MCP::Protocol::Annotations | Nil = nil, size : Int64 | Nil = nil, meta : Nil | Hash(String, JSON::Any) = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

annotations
Source
description
Source
meta
Source
mime_type
Source
name
Source
size
Source
title
Source