Variable CompleteRequestParamsSchemaConst
CompleteRequestParamsSchema: ZodObject<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>> },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>> },
ZodTypeAny,
"passthrough",
>,
>,
>;
},
{
argument: ZodObject<
{ name: ZodString; value: ZodString },
"strip",
ZodTypeAny,
{ name: string; value: string },
{ name: string; value: string },
>;
context: ZodOptional<
ZodObject<
{ arguments: ZodOptional<ZodRecord<ZodString, ZodString>> },
"strip",
ZodTypeAny,
{ arguments?: Record<string, string> },
{ arguments?: Record<string, string> },
>,
>;
ref: ZodUnion<
[
ZodObject<
{ name: ZodString; type: ZodLiteral<"ref/prompt"> },
"strip",
ZodTypeAny,
{ name: string; type: "ref/prompt" },
{ name: string; type: "ref/prompt" },
>,
ZodObject<
{ type: ZodLiteral<"ref/resource">; uri: ZodString },
"strip",
ZodTypeAny,
{ type: "ref/resource"; uri: string },
{ type: "ref/resource"; uri: string },
>,
],
>;
},
>,
"strip",
ZodTypeAny,
{
_meta?: objectOutputType<
{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>> },
ZodTypeAny,
"passthrough",
>;
argument: { name: string; value: string };
context?: { arguments?: Record<string, string> };
ref:
| { type: "ref/resource"; uri: string }
| { name: string; type: "ref/prompt" };
},
{
_meta?: objectInputType<
{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>> },
ZodTypeAny,
"passthrough",
>;
argument: { name: string; value: string };
context?: { arguments?: Record<string, string> };
ref:
| { type: "ref/resource"; uri: string }
| { name: string; type: "ref/prompt" };
},
> = ...
Parameters for a
completion/completerequest.