Variable ListToolsResultSchemaConst
ListToolsResultSchema: ZodObject<
extendShape<
extendShape<
{ _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
{ nextCursor: ZodOptional<ZodString> },
>,
{
tools: ZodArray<
ZodObject<
extendShape<
extendShape<
{ name: ZodString; title: ZodOptional<ZodString> },
{
_meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
annotations: ZodOptional<
ZodObject<
{
destructiveHint: ...;
idempotentHint: ...;
openWorldHint: ...;
readOnlyHint: ...;
title: ...;
},
"strip",
ZodTypeAny,
{
destructiveHint?: ...;
idempotentHint?: ...;
openWorldHint?: ...;
readOnlyHint?: ...;
title?: ...;
},
{
destructiveHint?: ...;
idempotentHint?: ...;
openWorldHint?: ...;
readOnlyHint?: ...;
title?: ...;
},
>,
>;
description: ZodOptional<ZodString>;
inputSchema: ZodObject<
{
properties: ZodOptional<(...)>;
required: ZodOptional<(...)>;
type: ZodLiteral<(...)>;
},
"strip",
ZodTypeAny,
{
properties?: (...)
| (...);
required?: (...) | (...);
type: "object";
},
{
properties?: (...)
| (...);
required?: (...) | (...);
type: "object";
},
>;
outputSchema: ZodOptional<
ZodObject<
{
additionalProperties: ...;
properties: ...;
required: ...;
type: ...;
},
"strip",
ZodTypeAny,
{
additionalProperties?: ...;
properties?: ...;
required?: ...;
type: ...;
},
{
additionalProperties?: ...;
properties?: ...;
required?: ...;
type: ...;
},
>,
>;
},
>,
{
icons: ZodOptional<
ZodArray<
ZodObject<
{ mimeType: ...; sizes: ...; src: ... },
"strip",
ZodTypeAny,
{ mimeType?: ...; sizes?: ...; src: ... },
{ mimeType?: ...; sizes?: ...; src: ... },
>,
"many",
>,
>;
},
>,
"strip",
ZodTypeAny,
{
_meta?: Record<string, unknown>;
annotations?: {
destructiveHint?: boolean;
idempotentHint?: boolean;
openWorldHint?: boolean;
readOnlyHint?: boolean;
title?: string;
};
description?: string;
icons?: { mimeType?: string; sizes?: (...)[]; src: string }[];
inputSchema: {
properties?: Record<string, object>;
required?: string[];
type: "object";
};
name: string;
outputSchema?: {
additionalProperties?: boolean;
properties?: Record<string, object>;
required?: string[];
type: "object";
};
title?: string;
},
{
_meta?: Record<string, unknown>;
annotations?: {
destructiveHint?: boolean;
idempotentHint?: boolean;
openWorldHint?: boolean;
readOnlyHint?: boolean;
title?: string;
};
description?: string;
icons?: { mimeType?: string; sizes?: (...)[]; src: string }[];
inputSchema: {
properties?: Record<string, object>;
required?: string[];
type: "object";
};
name: string;
outputSchema?: {
additionalProperties?: boolean;
properties?: Record<string, object>;
required?: string[];
type: "object";
};
title?: string;
},
>,
"many",
>;
},
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
extendShape<
{ _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
{ nextCursor: ZodOptional<ZodString> },
>,
{
tools: ZodArray<
ZodObject<
extendShape<
extendShape<
{ name: ZodString; title: ZodOptional<ZodString> },
{
_meta: ZodOptional<ZodRecord<(...), (...)>>;
annotations: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
description: ZodOptional<ZodString>;
inputSchema: ZodObject<
{ properties: ...; required: ...; type: ... },
"strip",
ZodTypeAny,
{ properties?: ...; required?: ...; type: ... },
{ properties?: ...; required?: ...; type: ... },
>;
outputSchema: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
},
>,
{
icons: ZodOptional<
ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
>;
},
>,
"strip",
ZodTypeAny,
{
_meta?: Record<string, unknown>;
annotations?: {
destructiveHint?: boolean;
idempotentHint?: boolean;
openWorldHint?: boolean;
readOnlyHint?: boolean;
title?: string;
};
description?: string;
icons?: {
mimeType?: (...)
| (...);
sizes?: (...) | (...);
src: string;
}[];
inputSchema: {
properties?: Record<string, object>;
required?: string[];
type: "object";
};
name: string;
outputSchema?: {
additionalProperties?: boolean;
properties?: Record<(...), (...)>;
required?: (...)[];
type: "object";
};
title?: string;
},
{
_meta?: Record<string, unknown>;
annotations?: {
destructiveHint?: boolean;
idempotentHint?: boolean;
openWorldHint?: boolean;
readOnlyHint?: boolean;
title?: string;
};
description?: string;
icons?: {
mimeType?: (...)
| (...);
sizes?: (...) | (...);
src: string;
}[];
inputSchema: {
properties?: Record<string, object>;
required?: string[];
type: "object";
};
name: string;
outputSchema?: {
additionalProperties?: boolean;
properties?: Record<(...), (...)>;
required?: (...)[];
type: "object";
};
title?: string;
},
>,
"many",
>;
},
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
extendShape<
{ _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
{ nextCursor: ZodOptional<ZodString> },
>,
{
tools: ZodArray<
ZodObject<
extendShape<
extendShape<
{ name: ZodString; title: ZodOptional<ZodString> },
{
_meta: ZodOptional<ZodRecord<(...), (...)>>;
annotations: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
description: ZodOptional<ZodString>;
inputSchema: ZodObject<
{ properties: ...; required: ...; type: ... },
"strip",
ZodTypeAny,
{ properties?: ...; required?: ...; type: ... },
{ properties?: ...; required?: ...; type: ... },
>;
outputSchema: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
},
>,
{
icons: ZodOptional<
ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
>;
},
>,
"strip",
ZodTypeAny,
{
_meta?: Record<string, unknown>;
annotations?: {
destructiveHint?: boolean;
idempotentHint?: boolean;
openWorldHint?: boolean;
readOnlyHint?: boolean;
title?: string;
};
description?: string;
icons?: {
mimeType?: (...)
| (...);
sizes?: (...) | (...);
src: string;
}[];
inputSchema: {
properties?: Record<string, object>;
required?: string[];
type: "object";
};
name: string;
outputSchema?: {
additionalProperties?: boolean;
properties?: Record<(...), (...)>;
required?: (...)[];
type: "object";
};
title?: string;
},
{
_meta?: Record<string, unknown>;
annotations?: {
destructiveHint?: boolean;
idempotentHint?: boolean;
openWorldHint?: boolean;
readOnlyHint?: boolean;
title?: string;
};
description?: string;
icons?: {
mimeType?: (...)
| (...);
sizes?: (...) | (...);
src: string;
}[];
inputSchema: {
properties?: Record<string, object>;
required?: string[];
type: "object";
};
name: string;
outputSchema?: {
additionalProperties?: boolean;
properties?: Record<(...), (...)>;
required?: (...)[];
type: "object";
};
title?: string;
},
>,
"many",
>;
},
>,
ZodTypeAny,
"passthrough",
>,
> = ...
The server's response to a tools/list request from the client.