Variable CompleteRequestSchemaConst
CompleteRequestSchema: ZodObject<
extendShape<
{
method: ZodString;
params: ZodOptional<
ZodObject<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<ZodUnion<(...)>> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ progressToken: ZodOptional<(...)> },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ progressToken: ZodOptional<(...)> },
ZodTypeAny,
"passthrough",
>,
>,
>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
objectInputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
>,
>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
objectInputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
>,
>;
},
ZodTypeAny,
"passthrough",
>,
>,
>;
},
{
method: ZodLiteral<"completion/complete">;
params: ZodObject<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<ZodUnion<(...)>> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ progressToken: ZodOptional<(...)> },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ progressToken: ZodOptional<(...)> },
ZodTypeAny,
"passthrough",
>,
>,
>;
},
{
argument: ZodObject<
{ name: ZodString; value: ZodString },
"strip",
ZodTypeAny,
{ name: string; value: string },
{ name: string; value: string },
>;
context: ZodOptional<
ZodObject<
{ arguments: ZodOptional<ZodRecord<(...), (...)>> },
"strip",
ZodTypeAny,
{ arguments?: Record<(...), (...)> },
{ arguments?: Record<(...), (...)> },
>,
>;
ref: ZodUnion<
[
ZodObject<
{ name: ZodString; type: ZodLiteral<(...)> },
"strip",
ZodTypeAny,
{ name: string; type: "ref/prompt" },
{ name: string; type: "ref/prompt" },
>,
ZodObject<
{ type: ZodLiteral<(...)>; uri: ZodString },
"strip",
ZodTypeAny,
{ type: "ref/resource"; uri: string },
{ type: "ref/resource"; uri: string },
>,
],
>;
},
>,
"strip",
ZodTypeAny,
{
_meta?: objectOutputType<
{ progressToken: ZodOptional<ZodUnion<[(...), (...)]>> },
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<[(...), (...)]>> },
ZodTypeAny,
"passthrough",
>;
argument: { name: string; value: string };
context?: { arguments?: Record<string, string> };
ref:
| { type: "ref/resource"; uri: string }
| { name: string; type: "ref/prompt" };
},
>;
},
>,
"strip",
ZodTypeAny,
{
method: "completion/complete";
params: {
_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" };
};
},
{
method: "completion/complete";
params: {
_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" };
};
},
> = ...
A request from the client to the server, to ask for completion options.