Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion specification/draft/apps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ interface HostContext {
tool: Tool,
};
/** Current color theme preference */
theme?: "light" | "dark" | "system";
theme?: "light" | "dark";
/** How the UI is currently displayed */
displayMode?: "inline" | "fullscreen" | "pip" | "carousel";
/** Display modes the host supports */
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const McpUiHostContextSchema = z.object({
tool: ToolSchema, // contains name, inputSchema, etc…
})
.optional(),
theme: z.enum(["light", "dark", "system"]).optional(),
theme: z.enum(["light", "dark"]).optional(),
displayMode: z.enum(["inline", "fullscreen", "pip", "carousel"]).optional(),
availableDisplayModes: z.array(z.string()).optional(),
viewport: z
Expand Down
Loading