Internal Release 0.5.0
Bump protocol version to 2025-03-26 Provide fallback value for tool_name Make configuration per server Add support for tool annotations document tool annotations
This commit is contained in:
parent
2eca3681df
commit
7175d49108
1 changed files with 353 additions and 42 deletions
|
|
@ -12,7 +12,7 @@ module ModelContextProtocol
|
|||
end
|
||||
|
||||
def to_h
|
||||
{ text:, annotations: }.compact
|
||||
{ text:, annotations:, type: "text" }.compact
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ module ModelContextProtocol
|
|||
end
|
||||
|
||||
def to_h
|
||||
{ data:, mime_type:, annotations: }.compact
|
||||
{ data:, mime_type:, annotations:, type: "image" }.compact
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue