Variable McpUiToolResultNotificationSchemaConst Internal
McpUiToolResultNotificationSchema: ZodObject<
{
method: ZodLiteral<"ui/notifications/tool-result">;
params: ZodObject<
{
_meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
content: ZodDefault<
ZodArray<
ZodUnion<
readonly [
ZodObject<
{
_meta: ZodOptional<(...)>;
text: ZodString;
type: ZodLiteral<(...)>;
},
$strip,
>,
ZodObject<
{
_meta: ZodOptional<(...)>;
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<(...)>;
},
$strip,
>,
ZodObject<
{
_meta: ZodOptional<(...)>;
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<(...)>;
},
$strip,
>,
ZodObject<
{
_meta: ZodOptional<(...)>;
description: ZodOptional<(...)>;
icons: ZodOptional<(...)>;
mimeType: ZodOptional<(...)>;
name: ZodString;
title: ZodOptional<(...)>;
type: ZodLiteral<(...)>;
uri: ZodString;
},
$strip,
>,
ZodObject<
{
_meta: ZodOptional<(...)>;
resource: ZodUnion<(...)>;
type: ZodLiteral<(...)>;
},
$strip,
>,
],
>,
>,
>;
isError: ZodOptional<ZodBoolean>;
structuredContent: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
},
$loose,
>;
},
$strip,
> = ...
Runtime validation schema for McpUiToolResultNotification.