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