feat(SEP-973): following change Icon.sizes from string to string array (#479)

Ref:
https://github.com/modelcontextprotocol/modelcontextprotocol/pull/1531
This commit is contained in:
Honsun Zhu 2025-10-10 19:23:04 +08:00 • committed by GitHub
commit b749e3c9b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 35 additions and 20 deletions

View file

@ -499,11 +499,14 @@
]
},
"sizes": {
"description": "Size specification (e.g., \"48x48\", \"any\" for SVG, or \"48x48 96x96\")",
"description": "Size specification, each string should be in WxH format (e.g., `\\\"48x48\\\"`, `\\\"96x96\\\"`) or `\\\"any\\\"` for scalable formats like SVG",
"type": [
"string",
"array",
"null"
]
],
"items": {
"type": "string"
}
},
"src": {
"description": "A standard URI pointing to an icon resource",

View file

@ -499,11 +499,14 @@
]
},
"sizes": {
"description": "Size specification (e.g., \"48x48\", \"any\" for SVG, or \"48x48 96x96\")",
"description": "Size specification, each string should be in WxH format (e.g., `\\\"48x48\\\"`, `\\\"96x96\\\"`) or `\\\"any\\\"` for scalable formats like SVG",
"type": [
"string",
"array",
"null"
]
],
"items": {
"type": "string"
}
},
"src": {
"description": "A standard URI pointing to an icon resource",

View file

@ -630,11 +630,14 @@
]
},
"sizes": {
"description": "Size specification (e.g., \"48x48\", \"any\" for SVG, or \"48x48 96x96\")",
"description": "Size specification, each string should be in WxH format (e.g., `\\\"48x48\\\"`, `\\\"96x96\\\"`) or `\\\"any\\\"` for scalable formats like SVG",
"type": [
"string",
"array",
"null"
]
],
"items": {
"type": "string"
}
},
"src": {
"description": "A standard URI pointing to an icon resource",

View file

@ -630,11 +630,14 @@
]
},
"sizes": {
"description": "Size specification (e.g., \"48x48\", \"any\" for SVG, or \"48x48 96x96\")",
"description": "Size specification, each string should be in WxH format (e.g., `\\\"48x48\\\"`, `\\\"96x96\\\"`) or `\\\"any\\\"` for scalable formats like SVG",
"type": [
"string",
"array",
"null"
]
],
"items": {
"type": "string"
}
},
"src": {
"description": "A standard URI pointing to an icon resource",