class

ModelContextProtocol::Messages::Request

Inherits JSON::Serializable < Reference < Object

MCP Request message

Constructors

from_json_object(object : JSON::Any) : Request
Source
new(id : Int64 | String, method : String, params : Hash(String, _) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

method
Source
params
Source