We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18f3e87 commit 9bcb3bfCopy full SHA for 9bcb3bf
lib/model_context_protocol/methods.rb
@@ -34,23 +34,6 @@ def initialize(method, capability)
34
35
extend self
36
37
- ALL_METHODS = [
38
- SAMPLING_CREATE_MESSAGE,
39
- INITIALIZE,
40
- LOGGING_SET_LEVEL,
41
- PING,
42
- PROMPTS_GET,
43
- PROMPTS_LIST,
44
- COMPLETION_COMPLETE,
45
- RESOURCES_LIST,
46
- RESOURCES_READ,
47
- RESOURCES_TEMPLATES_LIST,
48
- RESOURCES_SUBSCRIBE,
49
- RESOURCES_UNSUBSCRIBE,
50
- TOOLS_CALL,
51
- TOOLS_LIST,
52
- ]
53
-
54
def ensure_capability!(method, capabilities)
55
case method
56
when PROMPTS_GET, PROMPTS_LIST, COMPLETION_COMPLETE
0 commit comments