Variable GetPromptResultSchemaConst
GetPromptResultSchema: ZodObject<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
{
description: ZodOptional<ZodString>;
messages: ZodArray<
ZodObject<
{
content: ZodUnion<
[
ZodObject<
{ text: ZodString; type: ZodLiteral<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ text: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ text: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<(...)>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<(...)>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{ resource: ZodUnion<(...)>; type: ZodLiteral<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ resource: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ resource: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
content: ZodUnion<
[
ZodObject<
{ text: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ resource: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
content: ZodUnion<
[
ZodObject<
{ text: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ resource: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
},
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
{
description: ZodOptional<ZodString>;
messages: ZodArray<
ZodObject<
{
content: ZodUnion<
[
ZodObject<
{ text: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ resource: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
content: ZodUnion<
[
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
content: ZodUnion<
[
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
},
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
{
description: ZodOptional<ZodString>;
messages: ZodArray<
ZodObject<
{
content: ZodUnion<
[
ZodObject<
{ text: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ resource: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
content: ZodUnion<
[
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
content: ZodUnion<
[
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
},
>,
ZodTypeAny,
"passthrough",
>,
> = ...
The server's response to a prompts/get request from the client.