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