Sha256: 9de2fce3059f9b6461579d48bee196f710cf79972e77c631f01c161e375fd465
Contents?: true
Size: 383 Bytes
Versions: 1
Compression:
Stored size: 383 Bytes
Contents
module ModelContextProtocol class Server class Router ## # Maps prompt operations to handlers. class PromptsMap < BaseMap def list(handler, broadcast_changes: false) register("prompts/list", handler, broadcast_changes:) end def get(handler) register("prompts/get", handler) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
model-context-protocol-rb-0.2.0 | lib/model_context_protocol/server/router/prompts_map.rb |