File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 7070 GetTaskRequestParams ,
7171 GetTaskResult ,
7272 Icon ,
73+ IconTheme ,
7374 ImageContent ,
7475 Implementation ,
7576 IncludeContext ,
275276 "BlobResourceContents" ,
276277 "EmbeddedResource" ,
277278 "Icon" ,
279+ "IconTheme" ,
278280 "ImageContent" ,
279281 "ResourceContents" ,
280282 "ResourceLink" ,
Original file line number Diff line number Diff line change 2828ProgressToken = str | int
2929Role = Literal ["user" , "assistant" ]
3030
31+ IconTheme = Literal ["light" , "dark" ]
32+
3133TaskExecutionMode = Literal ["forbidden" , "optional" , "required" ]
3234TASK_FORBIDDEN : Final [Literal ["forbidden" ]] = "forbidden"
3335TASK_OPTIONAL : Final [Literal ["optional" ]] = "optional"
@@ -170,6 +172,15 @@ class Icon(MCPModel):
170172 sizes : list [str ] | None = None
171173 """Optional list of strings specifying icon dimensions (e.g., ["48x48", "96x96"])."""
172174
175+ theme : IconTheme | None = None
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+ """
183+
173184
174185class Implementation (BaseMetadata ):
175186 """Describes the name and version of an MCP implementation."""
You can’t perform that action at this time.
0 commit comments