Variable EmbeddedResourceSchemaConst
EmbeddedResourceSchema: ZodObject<
{
resource: ZodUnion<
[
ZodObject<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ text: ZodString },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ text: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ text: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ blob: ZodString },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ blob: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ blob: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
>,
],
>;
type: ZodLiteral<"resource">;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
resource: ZodUnion<
[
ZodObject<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ text: ZodString },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ text: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ text: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ blob: ZodString },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ blob: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ blob: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
>,
],
>;
type: ZodLiteral<"resource">;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
resource: ZodUnion<
[
ZodObject<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ text: ZodString },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ text: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ text: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ blob: ZodString },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{ mimeType: ZodOptional<ZodString>; uri: ZodString },
{ blob: ZodString },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{ 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.