Skip to content

Commit ad0df32

Browse files
committed
Apply suggestion: improve Icon.theme docstring with spec link
1 parent 7be0928 commit ad0df32

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/mcp/types/_types.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,13 @@ class Icon(MCPModel):
173173
"""Optional list of strings specifying icon dimensions (e.g., ["48x48", "96x96"])."""
174174

175175
theme: IconTheme | None = None
176-
"""Optional theme specifier. 'light' indicates the icon is designed for a light
177-
background, 'dark' indicates the icon is designed for a dark background."""
176+
"""Optional theme specifier.
177+
178+
`"light"` indicates the icon is designed for a light background, `"dark"` indicates the icon
179+
is designed for a dark background.
180+
181+
See https://modelcontextprotocol.io/specification/2025-11-25/schema#icon for more details.
182+
"""
178183

179184

180185
class Implementation(BaseMetadata):

0 commit comments

Comments
 (0)