Variable ResourceLinkSchemaConst
ResourceLinkSchema: ZodObject<
extendShape<
extendShape<
{ name: ZodString; title: ZodOptional<ZodString> },
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
description: ZodOptional<ZodString>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
>,
{ type: ZodLiteral<"resource_link"> },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
extendShape<
{ name: ZodString; title: ZodOptional<ZodString> },
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
description: ZodOptional<ZodString>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
>,
{ type: ZodLiteral<"resource_link"> },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
extendShape<
{ name: ZodString; title: ZodOptional<ZodString> },
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
description: ZodOptional<ZodString>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
>,
{ type: ZodLiteral<"resource_link"> },
>,
ZodTypeAny,
"passthrough",
>,
> = ...
A resource that the server is capable of reading, included in a prompt or tool call result.
Note: resource links returned by tools are not guaranteed to appear in the results of
resources/listrequests.