Variable McpUiHostContextChangedNotificationSchemaConst
McpUiHostContextChangedNotificationSchema: ZodObject<
{
method: ZodLiteral<"ui/notifications/host-context-changed">;
params: ZodObject<
{
availableDisplayModes: ZodOptional<ZodArray<ZodString>>;
deviceCapabilities: ZodOptional<
ZodObject<
{ hover: ZodOptional<ZodBoolean>; touch: ZodOptional<ZodBoolean> },
$strip,
>,
>;
displayMode: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"inline">,
ZodLiteral<"fullscreen">,
ZodLiteral<"pip">,
],
>,
>;
locale: ZodOptional<ZodString>;
platform: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"web">,
ZodLiteral<"desktop">,
ZodLiteral<"mobile">,
],
>,
>;
safeAreaInsets: ZodOptional<
ZodObject<
{
bottom: ZodNumber;
left: ZodNumber;
right: ZodNumber;
top: ZodNumber;
},
$strip,
>,
>;
styles: ZodOptional<
ZodObject<
{
css: ZodOptional<ZodObject<{ fonts: ZodOptional<(...)> }, $strip>>;
variables: ZodOptional<
ZodRecord<
ZodUnion<
readonly [
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
],
>,
ZodUnion<readonly [(...), (...)]>,
>,
>;
},
$strip,
>,
>;
theme: ZodOptional<
ZodUnion<readonly [ZodLiteral<"light">, ZodLiteral<"dark">]>,
>;
timeZone: ZodOptional<ZodString>;
toolInfo: ZodOptional<
ZodObject<
{
id: ZodUnion<readonly [ZodString, ZodNumber]>;
tool: ZodObject<
{
_meta: ZodOptional<ZodRecord<(...), (...)>>;
annotations: ZodOptional<ZodObject<(...), (...)>>;
description: ZodOptional<ZodString>;
execution: ZodOptional<ZodObject<(...), (...)>>;
icons: ZodOptional<ZodArray<(...)>>;
inputSchema: ZodObject<
{ properties: ...; required: ...; type: ... },
$catchall<(...)>,
>;
name: ZodString;
outputSchema: ZodOptional<ZodObject<(...), (...)>>;
title: ZodOptional<ZodString>;
},
$strip,
>;
},
$strip,
>,
>;
userAgent: ZodOptional<ZodString>;
viewport: ZodOptional<
ZodObject<
{
height: ZodNumber;
maxHeight: ZodOptional<ZodNumber>;
maxWidth: ZodOptional<ZodNumber>;
width: ZodNumber;
},
$strip,
>,
>;
},
$loose,
>;
},
$strip,
> = ...
Description
Notification that host context has changed (Host -> Guest UI).
See
McpUiHostContext for the full context structure