We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65bb011 commit 0f5b460Copy full SHA for 0f5b460
lib/mcp/tool.rb
@@ -17,10 +17,10 @@ def call(*args, server_context: nil)
17
def to_h
18
result = {
19
name: name_value,
20
+ title: title_value,
21
description: description_value,
22
inputSchema: input_schema_value.to_h,
23
}
- result[:title] = title_value if title_value
24
result[:_meta] = metadata_value if metadata_value
25
result[:annotations] = annotations_value.to_h if annotations_value
26
result
0 commit comments