Class: GroqRuby::MCP::Protocol::V2024_11_05
- Inherits:
-
Object
- Object
- GroqRuby::MCP::Protocol::V2024_11_05
- Defined in:
- lib/groq_ruby/mcp/protocol/v2024_11_05.rb
Overview
MCP protocol version 2024-11-05 — the original public release. Stdio transport only; no tasks, no elicitation, no _meta fields.
Class name underscores deliberately mirror the wire format.
Constant Summary collapse
- VERSION =
rubocop:disable Naming/ClassAndModuleCamelCase
"2024-11-05".freeze
Instance Method Summary collapse
-
#initialize_params(client_info:) ⇒ Hash
Build the ‘params` payload for the JSON-RPC `initialize` request.
-
#version ⇒ String
The protocol version this object speaks.
Instance Method Details
#initialize_params(client_info:) ⇒ Hash
Build the ‘params` payload for the JSON-RPC `initialize` request.
19 20 21 22 23 24 25 |
# File 'lib/groq_ruby/mcp/protocol/v2024_11_05.rb', line 19 def initialize_params(client_info:) { protocolVersion: VERSION, capabilities: {}, clientInfo: client_info } end |
#version ⇒ String
Returns the protocol version this object speaks.
12 13 14 |
# File 'lib/groq_ruby/mcp/protocol/v2024_11_05.rb', line 12 def version VERSION end |