Variable CallToolResultSchemaConst
CallToolResultSchema: ZodObject<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
{
content: ZodDefault<
ZodArray<
ZodUnion<
[
ZodObject<
{ text: ZodString; type: ZodLiteral<"text"> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ text: ZodString; type: ZodLiteral<(...)> },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ text: ZodString; type: ZodLiteral<(...)> },
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<"image">;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<(...)>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<(...)>;
},
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<"audio">;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<(...)>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<(...)>;
},
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{
resource: ZodUnion<[(...), (...)]>;
type: ZodLiteral<"resource">;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ resource: ZodUnion<(...)>; type: ZodLiteral<(...)> },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ 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<
{ text: ZodString; type: ZodLiteral<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ text: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ text: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<(...)>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<(...)>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{ resource: ZodUnion<(...)>; type: ZodLiteral<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ resource: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ 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<
{ text: ZodString; type: ZodLiteral<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ text: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ text: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<(...)>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<(...)>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{ resource: ZodUnion<(...)>; type: ZodLiteral<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ resource: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ 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.