Variable EmbeddedResourceSchemaConst
EmbeddedResourceSchema: ZodObject<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
resource: ZodUnion<
[
ZodObject<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ text: ZodString },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ text: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ text: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ blob: ZodString },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ blob: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ blob: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
>,
],
>;
type: ZodLiteral<"resource">;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
resource: ZodUnion<
[
ZodObject<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ text: ZodString },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{
_meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ text: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{
_meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ text: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ blob: ZodString },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{
_meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ blob: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{
_meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ blob: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
>,
],
>;
type: ZodLiteral<"resource">;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
resource: ZodUnion<
[
ZodObject<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ text: ZodString },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{
_meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ text: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{
_meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ text: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ blob: ZodString },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{
_meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ blob: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{
_meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
{ blob: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
>,
],
>;
type: ZodLiteral<"resource">;
},
ZodTypeAny,
"passthrough",
>,
> = ...
The contents of a resource, embedded into a prompt or tool call result.