变量 CallToolResultSchema常量
CallToolResultSchema: z.ZodObject<
z.objectUtil.extendShape<
{
_meta: z.ZodOptional<
z.ZodObject<
{},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<{}, z.ZodTypeAny, "passthrough">,
z.objectInputType<{}, z.ZodTypeAny, "passthrough">,
>,
>;
},
{
content: z.ZodDefault<
z.ZodArray<
z.ZodUnion<
[
z.ZodObject<
{
_meta: z.ZodOptional<
z.ZodObject<(...), (...), (...), (...), (...)>,
>;
text: z.ZodString;
type: z.ZodLiteral<"text">;
},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
{
_meta: z.ZodOptional<(...)>;
text: z.ZodString;
type: z.ZodLiteral<(...)>;
},
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
{
_meta: z.ZodOptional<(...)>;
text: z.ZodString;
type: z.ZodLiteral<(...)>;
},
z.ZodTypeAny,
"passthrough",
>,
>,
z.ZodObject<
{
_meta: z.ZodOptional<
z.ZodObject<(...), (...), (...), (...), (...)>,
>;
data: z.ZodEffects<z.ZodString, string, string>;
mimeType: z.ZodString;
type: z.ZodLiteral<"image">;
},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
{
_meta: z.ZodOptional<(...)>;
data: z.ZodEffects<(...), (...), (...)>;
mimeType: z.ZodString;
type: z.ZodLiteral<(...)>;
},
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
{
_meta: z.ZodOptional<(...)>;
data: z.ZodEffects<(...), (...), (...)>;
mimeType: z.ZodString;
type: z.ZodLiteral<(...)>;
},
z.ZodTypeAny,
"passthrough",
>,
>,
z.ZodObject<
{
_meta: z.ZodOptional<
z.ZodObject<(...), (...), (...), (...), (...)>,
>;
data: z.ZodEffects<z.ZodString, string, string>;
mimeType: z.ZodString;
type: z.ZodLiteral<"audio">;
},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
{
_meta: z.ZodOptional<(...)>;
data: z.ZodEffects<(...), (...), (...)>;
mimeType: z.ZodString;
type: z.ZodLiteral<(...)>;
},
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
{
_meta: z.ZodOptional<(...)>;
data: z.ZodEffects<(...), (...), (...)>;
mimeType: z.ZodString;
type: z.ZodLiteral<(...)>;
},
z.ZodTypeAny,
"passthrough",
>,
>,
z.ZodObject<
z.objectUtil.extendShape<
z.objectUtil.extendShape<
z.objectUtil.extendShape<(...), (...)>,
{ icons: ... },
>,
{ type: z.ZodLiteral<(...)> },
>,
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
z.objectUtil.extendShape<
z.objectUtil.extendShape<(...), (...)>,
{ type: ... },
>,
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
z.objectUtil.extendShape<
z.objectUtil.extendShape<(...), (...)>,
{ type: ... },
>,
z.ZodTypeAny,
"passthrough",
>,
>,
z.ZodObject<
{
_meta: z.ZodOptional<
z.ZodObject<(...), (...), (...), (...), (...)>,
>;
resource: z.ZodUnion<[(...), (...)]>;
type: z.ZodLiteral<"resource">;
},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
{
_meta: z.ZodOptional<(...)>;
resource: z.ZodUnion<(...)>;
type: z.ZodLiteral<(...)>;
},
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
{
_meta: z.ZodOptional<(...)>;
resource: z.ZodUnion<(...)>;
type: z.ZodLiteral<(...)>;
},
z.ZodTypeAny,
"passthrough",
>,
>,
],
>,
"many",
>,
>;
isError: z.ZodOptional<z.ZodBoolean>;
structuredContent: z.ZodOptional<
z.ZodObject<
{},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<{}, z.ZodTypeAny, "passthrough">,
z.objectInputType<{}, z.ZodTypeAny, "passthrough">,
>,
>;
},
>,
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
z.objectUtil.extendShape<
{
_meta: z.ZodOptional<
z.ZodObject<
{},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<{}, z.ZodTypeAny, "passthrough">,
z.objectInputType<{}, z.ZodTypeAny, "passthrough">,
>,
>;
},
{
content: z.ZodDefault<
z.ZodArray<
z.ZodUnion<
[
z.ZodObject<
{
_meta: z.ZodOptional<(...)>;
text: z.ZodString;
type: z.ZodLiteral<(...)>;
},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
{ _meta: ...; text: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
{ _meta: ...; text: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
>,
z.ZodObject<
{
_meta: z.ZodOptional<(...)>;
data: z.ZodEffects<(...), (...), (...)>;
mimeType: z.ZodString;
type: z.ZodLiteral<(...)>;
},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
>,
z.ZodObject<
{
_meta: z.ZodOptional<(...)>;
data: z.ZodEffects<(...), (...), (...)>;
mimeType: z.ZodString;
type: z.ZodLiteral<(...)>;
},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
>,
z.ZodObject<
z.objectUtil.extendShape<
z.objectUtil.extendShape<(...), (...)>,
{ type: ... },
>,
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
z.objectUtil.extendShape<(...), (...)>,
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
z.objectUtil.extendShape<(...), (...)>,
z.ZodTypeAny,
"passthrough",
>,
>,
z.ZodObject<
{
_meta: z.ZodOptional<(...)>;
resource: z.ZodUnion<(...)>;
type: z.ZodLiteral<(...)>;
},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
{ _meta: ...; resource: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
{ _meta: ...; resource: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
>,
],
>,
"many",
>,
>;
isError: z.ZodOptional<z.ZodBoolean>;
structuredContent: z.ZodOptional<
z.ZodObject<
{},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<{}, z.ZodTypeAny, "passthrough">,
z.objectInputType<{}, z.ZodTypeAny, "passthrough">,
>,
>;
},
>,
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
z.objectUtil.extendShape<
{
_meta: z.ZodOptional<
z.ZodObject<
{},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<{}, z.ZodTypeAny, "passthrough">,
z.objectInputType<{}, z.ZodTypeAny, "passthrough">,
>,
>;
},
{
content: z.ZodDefault<
z.ZodArray<
z.ZodUnion<
[
z.ZodObject<
{
_meta: z.ZodOptional<(...)>;
text: z.ZodString;
type: z.ZodLiteral<(...)>;
},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
{ _meta: ...; text: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
{ _meta: ...; text: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
>,
z.ZodObject<
{
_meta: z.ZodOptional<(...)>;
data: z.ZodEffects<(...), (...), (...)>;
mimeType: z.ZodString;
type: z.ZodLiteral<(...)>;
},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
>,
z.ZodObject<
{
_meta: z.ZodOptional<(...)>;
data: z.ZodEffects<(...), (...), (...)>;
mimeType: z.ZodString;
type: z.ZodLiteral<(...)>;
},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
>,
z.ZodObject<
z.objectUtil.extendShape<
z.objectUtil.extendShape<(...), (...)>,
{ type: ... },
>,
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
z.objectUtil.extendShape<(...), (...)>,
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
z.objectUtil.extendShape<(...), (...)>,
z.ZodTypeAny,
"passthrough",
>,
>,
z.ZodObject<
{
_meta: z.ZodOptional<(...)>;
resource: z.ZodUnion<(...)>;
type: z.ZodLiteral<(...)>;
},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<
{ _meta: ...; resource: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
z.objectInputType<
{ _meta: ...; resource: ...; type: ... },
z.ZodTypeAny,
"passthrough",
>,
>,
],
>,
"many",
>,
>;
isError: z.ZodOptional<z.ZodBoolean>;
structuredContent: z.ZodOptional<
z.ZodObject<
{},
"passthrough",
z.ZodTypeAny,
z.objectOutputType<{}, z.ZodTypeAny, "passthrough">,
z.objectInputType<{}, z.ZodTypeAny, "passthrough">,
>,
>;
},
>,
z.ZodTypeAny,
"passthrough",
>,
>
The server's response to a tool call.