Variable ServerCapabilitiesSchemaConst
ServerCapabilitiesSchema: ZodObject<
{
completions: ZodOptional<ZodType<object, ZodTypeDef, object>>;
experimental: ZodOptional<
ZodRecord<ZodString, ZodType<object, ZodTypeDef, object>>,
>;
logging: ZodOptional<ZodType<object, ZodTypeDef, object>>;
prompts: ZodOptional<
ZodObject<
{ listChanged: ZodOptional<ZodBoolean> },
"strip",
ZodTypeAny,
{ listChanged?: boolean },
{ listChanged?: boolean },
>,
>;
resources: ZodOptional<
ZodObject<
{
listChanged: ZodOptional<ZodBoolean>;
subscribe: ZodOptional<ZodBoolean>;
},
"strip",
ZodTypeAny,
{ listChanged?: boolean; subscribe?: boolean },
{ listChanged?: boolean; subscribe?: boolean },
>,
>;
tools: ZodOptional<
ZodObject<
{ listChanged: ZodOptional<ZodBoolean> },
"strip",
ZodTypeAny,
{ listChanged?: boolean },
{ listChanged?: boolean },
>,
>;
},
"strip",
ZodTypeAny,
{
completions?: object;
experimental?: Record<string, object>;
logging?: object;
prompts?: { listChanged?: boolean };
resources?: { listChanged?: boolean; subscribe?: boolean };
tools?: { listChanged?: boolean };
},
{
completions?: object;
experimental?: Record<string, object>;
logging?: object;
prompts?: { listChanged?: boolean };
resources?: { listChanged?: boolean; subscribe?: boolean };
tools?: { listChanged?: boolean };
},
> = ...
Capabilities that a server may support. Known capabilities are defined here, in this schema, but this is not a closed set: any server can define its own, additional capabilities.