Variable ServerResultSchemaConst
ServerResultSchema: ZodUnion<
[
ZodObject<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
"strict",
ZodTypeAny,
{ _meta?: objectOutputType<{}, ZodTypeAny, "passthrough"> },
{ _meta?: objectInputType<{}, ZodTypeAny, "passthrough"> },
>,
ZodObject<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
{
capabilities: ZodObject<
{
completions: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
experimental: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
logging: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
prompts: ZodOptional<
ZodObject<
{ listChanged: ZodOptional<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<{ listChanged: ... }, ZodTypeAny, "passthrough">,
objectInputType<{ listChanged: ... }, ZodTypeAny, "passthrough">,
>,
>;
resources: ZodOptional<
ZodObject<
{
listChanged: ZodOptional<(...)>;
subscribe: ZodOptional<(...)>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ listChanged: ...; subscribe: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ listChanged: ...; subscribe: ... },
ZodTypeAny,
"passthrough",
>,
>,
>;
tools: ZodOptional<
ZodObject<
{ listChanged: ZodOptional<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<{ listChanged: ... }, ZodTypeAny, "passthrough">,
objectInputType<{ listChanged: ... }, ZodTypeAny, "passthrough">,
>,
>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
completions: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
experimental: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
logging: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
prompts: ZodOptional<
ZodObject<
{ listChanged: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
resources: ZodOptional<
ZodObject<
{ listChanged: ...; subscribe: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
tools: ZodOptional<
ZodObject<
{ listChanged: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
completions: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
experimental: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
logging: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
prompts: ZodOptional<
ZodObject<
{ listChanged: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
resources: ZodOptional<
ZodObject<
{ listChanged: ...; subscribe: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
tools: ZodOptional<
ZodObject<
{ listChanged: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
},
ZodTypeAny,
"passthrough",
>,
>;
instructions: ZodOptional<ZodString>;
protocolVersion: ZodString;
serverInfo: ZodObject<
extendShape<
extendShape<
{ name: ZodString; title: ZodOptional<ZodString> },
{ version: ZodString; websiteUrl: ZodOptional<ZodString> },
>,
{
icons: ZodOptional<
ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
>;
},
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
extendShape<
{ name: ZodString; title: ZodOptional<(...)> },
{ version: ZodString; websiteUrl: ZodOptional<(...)> },
>,
{ icons: ZodOptional<ZodArray<(...), (...)>> },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
extendShape<
{ name: ZodString; title: ZodOptional<(...)> },
{ version: ZodString; websiteUrl: ZodOptional<(...)> },
>,
{ icons: ZodOptional<ZodArray<(...), (...)>> },
>,
ZodTypeAny,
"passthrough",
>,
>;
},
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
{
capabilities: ZodObject<
{
completions: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
experimental: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
logging: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
prompts: ZodOptional<
ZodObject<
{ listChanged: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
resources: ZodOptional<
ZodObject<
{ listChanged: ...; subscribe: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
tools: ZodOptional<
ZodObject<
{ listChanged: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
completions: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
experimental: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
logging: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
prompts: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
resources: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
tools: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
completions: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
experimental: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
logging: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
prompts: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
resources: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
tools: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
},
ZodTypeAny,
"passthrough",
>,
>;
instructions: ZodOptional<ZodString>;
protocolVersion: ZodString;
serverInfo: ZodObject<
extendShape<
extendShape<
{ name: ZodString; title: ZodOptional<(...)> },
{ version: ZodString; websiteUrl: ZodOptional<(...)> },
>,
{ icons: ZodOptional<ZodArray<(...), (...)>> },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
extendShape<
{ name: ...; title: ... },
{ version: ...; websiteUrl: ... },
>,
{ icons: ZodOptional<(...)> },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
extendShape<
{ name: ...; title: ... },
{ version: ...; websiteUrl: ... },
>,
{ icons: ZodOptional<(...)> },
>,
ZodTypeAny,
"passthrough",
>,
>;
},
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
{
capabilities: ZodObject<
{
completions: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
experimental: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
logging: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
prompts: ZodOptional<
ZodObject<
{ listChanged: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
resources: ZodOptional<
ZodObject<
{ listChanged: ...; subscribe: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
tools: ZodOptional<
ZodObject<
{ listChanged: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
completions: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
experimental: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
logging: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
prompts: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
resources: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
tools: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
completions: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
experimental: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
logging: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
prompts: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
resources: ZodOptional<
ZodObject<(...), (...), (...), (...), (...)>,
>;
tools: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
},
ZodTypeAny,
"passthrough",
>,
>;
instructions: ZodOptional<ZodString>;
protocolVersion: ZodString;
serverInfo: ZodObject<
extendShape<
extendShape<
{ name: ZodString; title: ZodOptional<(...)> },
{ version: ZodString; websiteUrl: ZodOptional<(...)> },
>,
{ icons: ZodOptional<ZodArray<(...), (...)>> },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
extendShape<
{ name: ...; title: ... },
{ version: ...; websiteUrl: ... },
>,
{ icons: ZodOptional<(...)> },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
extendShape<
{ name: ...; title: ... },
{ version: ...; websiteUrl: ... },
>,
{ icons: ZodOptional<(...)> },
>,
ZodTypeAny,
"passthrough",
>,
>;
},
>,
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
{
completion: ZodObject<
{
hasMore: ZodOptional<ZodBoolean>;
total: ZodOptional<ZodNumber>;
values: ZodArray<ZodString, "many">;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
hasMore: ZodOptional<ZodBoolean>;
total: ZodOptional<ZodNumber>;
values: ZodArray<ZodString, "many">;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
hasMore: ZodOptional<ZodBoolean>;
total: ZodOptional<ZodNumber>;
values: ZodArray<ZodString, "many">;
},
ZodTypeAny,
"passthrough",
>,
>;
},
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
{
completion: ZodObject<
{
hasMore: ZodOptional<ZodBoolean>;
total: ZodOptional<ZodNumber>;
values: ZodArray<ZodString, "many">;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
hasMore: ZodOptional<ZodBoolean>;
total: ZodOptional<ZodNumber>;
values: ZodArray<ZodString, "many">;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
hasMore: ZodOptional<ZodBoolean>;
total: ZodOptional<ZodNumber>;
values: ZodArray<ZodString, "many">;
},
ZodTypeAny,
"passthrough",
>,
>;
},
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
{
completion: ZodObject<
{
hasMore: ZodOptional<ZodBoolean>;
total: ZodOptional<ZodNumber>;
values: ZodArray<ZodString, "many">;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
hasMore: ZodOptional<ZodBoolean>;
total: ZodOptional<ZodNumber>;
values: ZodArray<ZodString, "many">;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
hasMore: ZodOptional<ZodBoolean>;
total: ZodOptional<ZodNumber>;
values: ZodArray<ZodString, "many">;
},
ZodTypeAny,
"passthrough",
>,
>;
},
>,
ZodTypeAny,
"passthrough",
>,
>,
],
> = ...