Variable McpUiMessageRequestSchemaConst Internal
McpUiMessageRequestSchema: ZodObject<
{
method: ZodLiteral<"ui/message">;
params: ZodObject<
{
content: ZodArray<
ZodUnion<
readonly [
ZodObject<
{
_meta: ZodOptional<ZodRecord<(...), (...)>>;
text: ZodString;
type: ZodLiteral<"text">;
},
$strip,
>,
ZodObject<
{
_meta: ZodOptional<ZodRecord<(...), (...)>>;
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<"image">;
},
$strip,
>,
ZodObject<
{
_meta: ZodOptional<ZodRecord<(...), (...)>>;
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<"audio">;
},
$strip,
>,
ZodObject<
{
_meta: ZodOptional<ZodObject<(...), (...)>>;
description: ZodOptional<ZodString>;
icons: ZodOptional<ZodArray<(...)>>;
mimeType: ZodOptional<ZodString>;
name: ZodString;
title: ZodOptional<ZodString>;
type: ZodLiteral<"resource_link">;
uri: ZodString;
},
$strip,
>,
ZodObject<
{
_meta: ZodOptional<ZodRecord<(...), (...)>>;
resource: ZodUnion<readonly [(...), (...)]>;
type: ZodLiteral<"resource">;
},
$strip,
>,
],
>,
>;
role: ZodLiteral<"user">;
},
$strip,
>;
},
$strip,
> = ...
Runtime validation schema for McpUiMessageRequest.