From ee7eb5e5c98bd4019089498e8bf9f6f6affb0889 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 21 Oct 2024 12:32:41 +0100 Subject: [PATCH 1/4] Make most object types pass through unrecognized properties --- src/types.ts | 552 +++++++++++++++++++++++++++------------------------ 1 file changed, 296 insertions(+), 256 deletions(-) diff --git a/src/types.ts b/src/types.ts index 0c240d6..2cdbf9b 100644 --- a/src/types.ts +++ b/src/types.ts @@ -151,58 +151,68 @@ export const EmptyResultSchema = ResultSchema.strict(); /** * Text provided to or from an LLM. */ -export const TextContentSchema = z.object({ - type: z.literal("text"), - /** - * The text content of the message. - */ - text: z.string(), -}); +export const TextContentSchema = z + .object({ + type: z.literal("text"), + /** + * The text content of the message. + */ + text: z.string(), + }) + .passthrough(); /** * An image provided to or from an LLM. */ -export const ImageContentSchema = z.object({ - type: z.literal("image"), - /** - * The base64-encoded image data. - */ - data: z.string().base64(), - /** - * The MIME type of the image. Different providers may support different image types. - */ - mimeType: z.string(), -}); +export const ImageContentSchema = z + .object({ + type: z.literal("image"), + /** + * The base64-encoded image data. + */ + data: z.string().base64(), + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.string(), + }) + .passthrough(); /** * Describes a message issued to or received from an LLM API. */ -export const SamplingMessageSchema = z.object({ - role: z.enum(["user", "assistant"]), - content: z.union([TextContentSchema, ImageContentSchema]), -}); +export const SamplingMessageSchema = z + .object({ + role: z.enum(["user", "assistant"]), + content: z.union([TextContentSchema, ImageContentSchema]), + }) + .passthrough(); /** * Describes the name and version of an MCP implementation. */ -export const ImplementationSchema = z.object({ - name: z.string(), - version: z.string(), -}); +export const ImplementationSchema = z + .object({ + name: z.string(), + version: z.string(), + }) + .passthrough(); /** * Capabilities a client may support. Known capabilities are defined here, in this schema, but this is not a closed set: any client can define its own, additional capabilities. */ -export const ClientCapabilitiesSchema = z.object({ - /** - * Experimental, non-standard capabilities that the client supports. - */ - experimental: z.optional(z.object({}).passthrough()), - /** - * Present if the client supports sampling from an LLM. - */ - sampling: z.optional(z.object({}).passthrough()), -}); +export const ClientCapabilitiesSchema = z + .object({ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.optional(z.object({}).passthrough()), + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.optional(z.object({}).passthrough()), + }) + .passthrough(); /** * This request is sent from the client to the server when it first connects, asking it to begin initialization. @@ -222,59 +232,61 @@ export const InitializeRequestSchema = RequestSchema.extend({ /** * 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. */ -export const ServerCapabilitiesSchema = z.object({ - /** - * Experimental, non-standard capabilities that the server supports. - */ - experimental: z.optional(z.object({}).passthrough()), - /** - * Present if the server supports sending log messages to the client. - */ - logging: z.optional(z.object({}).passthrough()), - /** - * Present if the server offers any prompt templates. - */ - prompts: z.optional( - z - .object({ - /** - * Whether this server supports notifications for changes to the prompt list. - */ - listChanged: z.optional(z.boolean()), - }) - .passthrough(), - ), - /** - * Present if the server offers any resources to read. - */ - resources: z.optional( - z - .object({ - /** - * Whether this server supports subscribing to resource updates. - */ - subscribe: z.optional(z.boolean()), - /** - * Whether this server supports notifications for changes to the resource list. - */ - listChanged: z.optional(z.boolean()), - }) - .passthrough(), - ), - /** - * Present if the server offers any tools to call. - */ - tools: z.optional( - z - .object({ - /** - * Whether this server supports notifications for changes to the tool list. - */ - listChanged: z.optional(z.boolean()), - }) - .passthrough(), - ), -}); +export const ServerCapabilitiesSchema = z + .object({ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.optional(z.object({}).passthrough()), + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.optional(z.object({}).passthrough()), + /** + * Present if the server offers any prompt templates. + */ + prompts: z.optional( + z + .object({ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.optional(z.boolean()), + }) + .passthrough(), + ), + /** + * Present if the server offers any resources to read. + */ + resources: z.optional( + z + .object({ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.optional(z.boolean()), + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.optional(z.boolean()), + }) + .passthrough(), + ), + /** + * Present if the server offers any tools to call. + */ + tools: z.optional( + z + .object({ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.optional(z.boolean()), + }) + .passthrough(), + ), + }) + .passthrough(); /** * After receiving an initialize request from the client, the server sends this response. @@ -304,16 +316,18 @@ export const PingRequestSchema = RequestSchema.extend({ }); /* Progress notifications */ -export const ProgressSchema = z.object({ - /** - * The progress thus far. This should increase every time progress is made, even if the total is unknown. - */ - progress: z.number(), - /** - * Total number of items to process (or total progress required), if known. - */ - total: z.optional(z.number()), -}); +export const ProgressSchema = z + .object({ + /** + * The progress thus far. This should increase every time progress is made, even if the total is unknown. + */ + progress: z.number(), + /** + * Total number of items to process (or total progress required), if known. + */ + total: z.optional(z.number()), + }) + .passthrough(); /** * An out-of-band notification used to inform the receiver of a progress update for a long-running request. @@ -351,16 +365,18 @@ export const PaginatedResultSchema = ResultSchema.extend({ /** * The contents of a specific resource or sub-resource. */ -export const ResourceContentsSchema = z.object({ - /** - * The URI of this resource. - */ - uri: z.string(), - /** - * The MIME type of this resource, if known. - */ - mimeType: z.optional(z.string()), -}); +export const ResourceContentsSchema = z + .object({ + /** + * The URI of this resource. + */ + uri: z.string(), + /** + * The MIME type of this resource, if known. + */ + mimeType: z.optional(z.string()), + }) + .passthrough(); export const TextResourceContentsSchema = ResourceContentsSchema.extend({ /** @@ -379,60 +395,64 @@ export const BlobResourceContentsSchema = ResourceContentsSchema.extend({ /** * A known resource that the server is capable of reading. */ -export const ResourceSchema = z.object({ - /** - * The URI of this resource. - */ - uri: z.string(), +export const ResourceSchema = z + .object({ + /** + * The URI of this resource. + */ + uri: z.string(), - /** - * A human-readable name for this resource. - * - * This can be used by clients to populate UI elements. - */ - name: z.string(), + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.string(), - /** - * A description of what this resource represents. - * - * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. - */ - description: z.optional(z.string()), + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.optional(z.string()), - /** - * The MIME type of this resource, if known. - */ - mimeType: z.optional(z.string()), -}); + /** + * The MIME type of this resource, if known. + */ + mimeType: z.optional(z.string()), + }) + .passthrough(); /** * A template description for resources available on the server. */ -export const ResourceTemplateSchema = z.object({ - /** - * A URI template (according to RFC 6570) that can be used to construct resource URIs. - */ - uriTemplate: z.string(), +export const ResourceTemplateSchema = z + .object({ + /** + * A URI template (according to RFC 6570) that can be used to construct resource URIs. + */ + uriTemplate: z.string(), - /** - * A human-readable name for the type of resource this template refers to. - * - * This can be used by clients to populate UI elements. - */ - name: z.string(), + /** + * A human-readable name for the type of resource this template refers to. + * + * This can be used by clients to populate UI elements. + */ + name: z.string(), - /** - * A description of what this template is for. - * - * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. - */ - description: z.optional(z.string()), + /** + * A description of what this template is for. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.optional(z.string()), - /** - * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. - */ - mimeType: z.optional(z.string()), -}); + /** + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + */ + mimeType: z.optional(z.string()), + }) + .passthrough(); /** * Sent from the client to request a list of resources the server has. @@ -524,50 +544,56 @@ export const UnsubscribeRequestSchema = RequestSchema.extend({ */ export const ResourceUpdatedNotificationSchema = NotificationSchema.extend({ method: z.literal("notifications/resources/updated"), - params: z.object({ - /** - * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to. - */ - uri: z.string(), - }), + params: z + .object({ + /** + * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to. + */ + uri: z.string(), + }) + .passthrough(), }); /* Prompts */ /** * Describes an argument that a prompt can accept. */ -export const PromptArgumentSchema = z.object({ - /** - * The name of the argument. - */ - name: z.string(), - /** - * A human-readable description of the argument. - */ - description: z.optional(z.string()), - /** - * Whether this argument must be provided. - */ - required: z.optional(z.boolean()), -}); +export const PromptArgumentSchema = z + .object({ + /** + * The name of the argument. + */ + name: z.string(), + /** + * A human-readable description of the argument. + */ + description: z.optional(z.string()), + /** + * Whether this argument must be provided. + */ + required: z.optional(z.boolean()), + }) + .passthrough(); /** * A prompt or prompt template that the server offers. */ -export const PromptSchema = z.object({ - /** - * The name of the prompt or prompt template. - */ - name: z.string(), - /** - * An optional description of what this prompt provides - */ - description: z.optional(z.string()), - /** - * A list of arguments to use for templating the prompt. - */ - arguments: z.optional(z.array(PromptArgumentSchema)), -}); +export const PromptSchema = z + .object({ + /** + * The name of the prompt or prompt template. + */ + name: z.string(), + /** + * An optional description of what this prompt provides + */ + description: z.optional(z.string()), + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.optional(z.array(PromptArgumentSchema)), + }) + .passthrough(); /** * Sent from the client to request a list of prompts and prompt templates the server has. @@ -622,23 +648,27 @@ export const PromptListChangedNotificationSchema = NotificationSchema.extend({ /** * Definition for a tool the client can call. */ -export const ToolSchema = z.object({ - /** - * The name of the tool. - */ - name: z.string(), - /** - * A human-readable description of the tool. - */ - description: z.optional(z.string()), - /** - * A JSON Schema object defining the expected parameters for the tool. - */ - inputSchema: z.object({ - type: z.literal("object"), - properties: z.optional(z.object({}).passthrough()), - }), -}); +export const ToolSchema = z + .object({ + /** + * The name of the tool. + */ + name: z.string(), + /** + * A human-readable description of the tool. + */ + description: z.optional(z.string()), + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z + .object({ + type: z.literal("object"), + properties: z.optional(z.object({}).passthrough()), + }) + .passthrough(), + }) + .passthrough(); /** * Sent from the client to request a list of tools the server has. @@ -703,20 +733,22 @@ export const SetLevelRequestSchema = RequestSchema.extend({ */ export const LoggingMessageNotificationSchema = NotificationSchema.extend({ method: z.literal("notifications/message"), - params: z.object({ - /** - * The severity of this log message. - */ - level: LoggingLevelSchema, - /** - * An optional name of the logger issuing this message. - */ - logger: z.optional(z.string()), - /** - * The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here. - */ - data: z.unknown(), - }), + params: z + .object({ + /** + * The severity of this log message. + */ + level: LoggingLevelSchema, + /** + * An optional name of the logger issuing this message. + */ + logger: z.optional(z.string()), + /** + * The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here. + */ + data: z.unknown(), + }) + .passthrough(), }); /* Sampling */ @@ -771,24 +803,28 @@ export const CreateMessageResultSchema = ResultSchema.extend({ /** * A reference to a resource or resource template definition. */ -export const ResourceReferenceSchema = z.object({ - type: z.literal("ref/resource"), - /** - * The URI or URI template of the resource. - */ - uri: z.string(), -}); +export const ResourceReferenceSchema = z + .object({ + type: z.literal("ref/resource"), + /** + * The URI or URI template of the resource. + */ + uri: z.string(), + }) + .passthrough(); /** * Identifies a prompt. */ -export const PromptReferenceSchema = z.object({ - type: z.literal("ref/prompt"), - /** - * The name of the prompt or prompt template - */ - name: z.string(), -}); +export const PromptReferenceSchema = z + .object({ + type: z.literal("ref/prompt"), + /** + * The name of the prompt or prompt template + */ + name: z.string(), + }) + .passthrough(); /** * A request from the client to the server, to ask for completion options. @@ -800,16 +836,18 @@ export const CompleteRequestSchema = RequestSchema.extend({ /** * The argument's information */ - argument: z.object({ - /** - * The name of the argument - */ - name: z.string(), - /** - * The value of the argument to use for completion matching. - */ - value: z.string(), - }), + argument: z + .object({ + /** + * The name of the argument + */ + name: z.string(), + /** + * The value of the argument to use for completion matching. + */ + value: z.string(), + }) + .passthrough(), }), }); @@ -817,20 +855,22 @@ export const CompleteRequestSchema = RequestSchema.extend({ * The server's response to a completion/complete request */ export const CompleteResultSchema = ResultSchema.extend({ - completion: z.object({ - /** - * An array of completion values. Must not exceed 100 items. - */ - values: z.array(z.string()).max(100), - /** - * The total number of completion options available. This can exceed the number of values actually sent in the response. - */ - total: z.optional(z.number().int()), - /** - * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. - */ - hasMore: z.optional(z.boolean()), - }), + completion: z + .object({ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.array(z.string()).max(100), + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.optional(z.number().int()), + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.optional(z.boolean()), + }) + .passthrough(), }); /* Client messages */ From 9dc6c9c9e05abc457dda1d01e48c7585a14cce13 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 21 Oct 2024 12:36:50 +0100 Subject: [PATCH 2/4] Had to inline getCapability(), wouldn't pass typechecking otherwise --- src/server/index.ts | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/src/server/index.ts b/src/server/index.ts index 83f64e7..7e9cb5c 100644 --- a/src/server/index.ts +++ b/src/server/index.ts @@ -83,20 +83,28 @@ export class Server extends Protocol< return this._clientVersion; } - private getCapability( - reqType: ClientRequest["method"], - ): ServerCapabilities[keyof ServerCapabilities] { - return this._requestHandlers.has(reqType as string) ? {} : undefined; - } - private getCapabilities(): ServerCapabilities { return { - prompts: this.getCapability(ListPromptsRequestSchema.shape.method.value), - resources: this.getCapability( - ListResourcesRequestSchema.shape.method.value, - ), - tools: this.getCapability(ListToolsRequestSchema.shape.method.value), - logging: this.getCapability(SetLevelRequestSchema.shape.method.value), + prompts: this._requestHandlers.has( + ListPromptsRequestSchema.shape.method.value as string, + ) + ? {} + : undefined, + resources: this._requestHandlers.has( + ListResourcesRequestSchema.shape.method.value as string, + ) + ? {} + : undefined, + tools: this._requestHandlers.has( + ListToolsRequestSchema.shape.method.value as string, + ) + ? {} + : undefined, + logging: this._requestHandlers.has( + SetLevelRequestSchema.shape.method.value as string, + ) + ? {} + : undefined, }; } } From adfe2cb7f3e8104c359562562d03840ef869f84c Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 21 Oct 2024 12:36:57 +0100 Subject: [PATCH 3/4] yarn build --- dist/server/index.d.ts | 1 - dist/server/index.d.ts.map | 2 +- dist/server/index.js | 19 +- dist/server/index.js.map | 2 +- dist/types.d.ts | 16166 ++++++++++++++++++++++------------- dist/types.d.ts.map | 2 +- dist/types.js | 120 +- dist/types.js.map | 2 +- 8 files changed, 10424 insertions(+), 5890 deletions(-) diff --git a/dist/server/index.d.ts b/dist/server/index.d.ts index e4cd857..e4625b6 100644 --- a/dist/server/index.d.ts +++ b/dist/server/index.d.ts @@ -26,7 +26,6 @@ export declare class Server extends Protocol; +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; +}, z.ZodTypeAny, "passthrough">>; /** * An image provided to or from an LLM. */ @@ -659,15 +665,27 @@ export declare const ImageContentSchema: z.ZodObject<{ * The MIME type of the image. Different providers may support different image types. */ mimeType: z.ZodString; -}, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; -}, { - type: "image"; - data: string; - mimeType: string; -}>; +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; +}, z.ZodTypeAny, "passthrough">>; /** * Describes a message issued to or received from an LLM API. */ @@ -679,13 +697,19 @@ export declare const SamplingMessageSchema: z.ZodObject<{ * The text content of the message. */ text: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "text"; - text: string; - }, { - type: "text"; - text: string; - }>, z.ZodObject<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"image">; /** * The base64-encoded image data. @@ -695,49 +719,143 @@ export declare const SamplingMessageSchema: z.ZodObject<{ * The MIME type of the image. Different providers may support different image types. */ mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; -}, "strip", z.ZodTypeAny, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; -}, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; -}>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; +}, z.ZodTypeAny, "passthrough">>; /** * Describes the name and version of an MCP implementation. */ export declare const ImplementationSchema: z.ZodObject<{ name: z.ZodString; version: z.ZodString; -}, "strip", z.ZodTypeAny, { - name: string; - version: string; -}, { - name: string; - version: string; -}>; +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + name: z.ZodString; + version: z.ZodString; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; + version: z.ZodString; +}, z.ZodTypeAny, "passthrough">>; /** * Capabilities a client may support. Known capabilities are defined here, in this schema, but this is not a closed set: any client can define its own, additional capabilities. */ @@ -750,13 +868,25 @@ export declare const ClientCapabilitiesSchema: z.ZodObject<{ * Present if the client supports sampling from an LLM. */ sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, "strip", z.ZodTypeAny, { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; -}, { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; -}>; +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, z.ZodTypeAny, "passthrough">>; /** * This request is sent from the client to the server when it first connects, asking it to begin initialization. */ @@ -847,23 +977,35 @@ export declare const InitializeRequestSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; clientInfo: z.ZodObject<{ name: z.ZodString; version: z.ZodString; - }, "strip", z.ZodTypeAny, { - name: string; - version: string; - }, { - name: string; - version: string; - }>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; }>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>; - clientInfo: z.ZodObject<{ - name: z.ZodString; - version: z.ZodString; - }, "strip", z.ZodTypeAny, { - name: string; - version: string; - }, { - name: string; - version: string; - }>; - }>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + clientInfo: z.ZodObject<{ + name: z.ZodString; + version: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; clientInfo: z.ZodObject<{ name: z.ZodString; version: z.ZodString; - }, "strip", z.ZodTypeAny, { - name: string; - version: string; - }, { - name: string; - version: string; - }>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; }>, z.ZodTypeAny, "passthrough">>; }>, "strip", z.ZodTypeAny, { params: { @@ -967,10 +1133,14 @@ export declare const InitializeRequestSchema: z.ZodObject | undefined; sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; }; clientInfo: { name: string; version: string; + } & { + [k: string]: unknown; }; _meta?: z.objectOutputType<{ /** @@ -988,10 +1158,14 @@ export declare const InitializeRequestSchema: z.ZodObject | undefined; sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; }; clientInfo: { name: string; version: string; + } & { + [k: string]: unknown; }; _meta?: z.objectInputType<{ /** @@ -1085,16 +1259,38 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{ */ listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; -}, "strip", z.ZodTypeAny, { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - logging?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectOutputType<{ +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - resources?: z.objectOutputType<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any resources to read. + */ + resources: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectOutputType<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any tools to call. + */ + tools: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; -}, { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - logging?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectInputType<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - resources?: z.objectInputType<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any resources to read. + */ + resources: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectInputType<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any tools to call. + */ + tools: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; -}>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; +}, z.ZodTypeAny, "passthrough">>; /** * After receiving an initialize request from the client, the server sends this response. */ @@ -1227,78 +1507,7 @@ export declare const InitializeResultSchema: z.ZodObject; }, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - logging?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectOutputType<{ - /** - * Whether this server supports notifications for changes to the prompt list. - */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - resources?: z.objectOutputType<{ - /** - * Whether this server supports subscribing to resource updates. - */ - subscribe: z.ZodOptional; - /** - * Whether this server supports notifications for changes to the resource list. - */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectOutputType<{ - /** - * Whether this server supports notifications for changes to the tool list. - */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - }, { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - logging?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectInputType<{ - /** - * Whether this server supports notifications for changes to the prompt list. - */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - resources?: z.objectInputType<{ - /** - * Whether this server supports subscribing to resource updates. - */ - subscribe: z.ZodOptional; - /** - * Whether this server supports notifications for changes to the resource list. - */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectInputType<{ - /** - * Whether this server supports notifications for changes to the tool list. - */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - }>; - serverInfo: z.ZodObject<{ - name: z.ZodString; - version: z.ZodString; - }, "strip", z.ZodTypeAny, { - name: string; - version: string; - }, { - name: string; - version: string; - }>; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect. - */ - protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; - capabilities: z.ZodObject<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** * Experimental, non-standard capabilities that the server supports. */ @@ -1376,16 +1585,38 @@ export declare const InitializeResultSchema: z.ZodObject; }, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - logging?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectOutputType<{ + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - resources?: z.objectOutputType<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any resources to read. + */ + resources: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectOutputType<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * Whether this server supports notifications for changes to the tool list. + * Whether this server supports subscribing to resource updates. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - }, { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - logging?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectInputType<{ + subscribe: z.ZodOptional; /** - * Whether this server supports notifications for changes to the prompt list. + * Whether this server supports notifications for changes to the resource list. */ listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - resources?: z.objectInputType<{ + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ @@ -1419,25 +1643,38 @@ export declare const InitializeResultSchema: z.ZodObject; - }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectInputType<{ + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any tools to call. + */ + tools: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - }>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; serverInfo: z.ZodObject<{ name: z.ZodString; version: z.ZodString; - }, "strip", z.ZodTypeAny, { - name: string; - version: string; - }, { - name: string; - version: string; - }>; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType; }, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - logging?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectOutputType<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - resources?: z.objectOutputType<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any resources to read. + */ + resources: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectOutputType<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * Whether this server supports notifications for changes to the tool list. + * Whether this server supports subscribing to resource updates. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - }, { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - logging?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectInputType<{ + subscribe: z.ZodOptional; /** - * Whether this server supports notifications for changes to the prompt list. + * Whether this server supports notifications for changes to the resource list. */ listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - resources?: z.objectInputType<{ + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ @@ -1568,860 +1820,415 @@ export declare const InitializeResultSchema: z.ZodObject; - }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectInputType<{ + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any tools to call. + */ + tools: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - }>; - serverInfo: z.ZodObject<{ - name: z.ZodString; - version: z.ZodString; - }, "strip", z.ZodTypeAny, { - name: string; - version: string; - }, { - name: string; - version: string; - }>; -}>, z.ZodTypeAny, "passthrough">>; -/** - * This notification is sent from the client to the server after initialization has finished. - */ -export declare const InitializedNotificationSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * Experimental, non-standard capabilities that the server supports. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"notifications/initialized">; -}>, "strip", z.ZodTypeAny, { - method: "notifications/initialized"; - params?: z.objectOutputType<{ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * Present if the server supports sending log messages to the client. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}, { - method: "notifications/initialized"; - params?: z.objectInputType<{ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * Present if the server offers any prompt templates. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}>; -/** - * A ping, issued by either the server or the client, to check that the other party is still alive. The receiver must promptly respond, or else may be disconnected. - */ -export declare const PingRequestSchema: z.ZodObject>; + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the prompt list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the prompt list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>; + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports subscribing to resource updates. */ - progressToken: z.ZodOptional>; + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports subscribing to resource updates. */ - progressToken: z.ZodOptional>; + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional>; + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the tool list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the tool list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"ping">; -}>, "strip", z.ZodTypeAny, { - method: "ping"; - params?: z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}, { - method: "ping"; - params?: z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}>; -export declare const ProgressSchema: z.ZodObject<{ + }, z.ZodTypeAny, "passthrough">>; + serverInfo: z.ZodObject<{ + name: z.ZodString; + version: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { /** - * Total number of items to process (or total progress required), if known. + * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect. */ - total: z.ZodOptional; -}, "strip", z.ZodTypeAny, { - progress: number; - total?: number | undefined; -}, { - progress: number; - total?: number | undefined; -}>; -/** - * An out-of-band notification used to inform the receiver of a progress update for a long-running request. - */ -export declare const ProgressNotificationSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"notifications/progress">; - params: z.ZodObject; + capabilities: z.ZodObject<{ /** - * The progress thus far. This should increase every time progress is made, even if the total is unknown. + * Experimental, non-standard capabilities that the server supports. */ - progress: z.ZodNumber; + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; /** - * Total number of items to process (or total progress required), if known. + * Present if the server supports sending log messages to the client. */ - total: z.ZodOptional; - }, { + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; /** - * The progress token which was given in the initial request, used to associate this notification with the request that is proceeding. + * Present if the server offers any prompt templates. */ - progressToken: z.ZodOptional>; - }>, "strip", z.ZodTypeAny, { - progress: number; - progressToken?: string | number | undefined; - total?: number | undefined; - }, { - progress: number; - progressToken?: string | number | undefined; - total?: number | undefined; - }>; -}>, "strip", z.ZodTypeAny, { - params: { - progress: number; - progressToken?: string | number | undefined; - total?: number | undefined; - }; - method: "notifications/progress"; -}, { - params: { - progress: number; - progressToken?: string | number | undefined; - total?: number | undefined; - }; - method: "notifications/progress"; -}>; -export declare const PaginatedRequestSchema: z.ZodObject>; + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the prompt list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the prompt list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + subscribe: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the resource list. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + listChanged: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports subscribing to resource updates. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the resource list. */ - progressToken: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports subscribing to resource updates. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + subscribe: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the resource list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - params: z.ZodObject>; + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the tool list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the tool list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; - }, { + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. + * Experimental, non-standard capabilities that the server supports. */ - cursor: z.ZodOptional; - }>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional>; + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the prompt list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the prompt list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; - }, { /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. + * Present if the server offers any resources to read. */ - cursor: z.ZodOptional; - }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports subscribing to resource updates. */ - progressToken: z.ZodOptional>; + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports subscribing to resource updates. */ - progressToken: z.ZodOptional>; + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; - }, { /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. + * Present if the server offers any tools to call. */ - cursor: z.ZodOptional; - }>, z.ZodTypeAny, "passthrough">>; -}>, "strip", z.ZodTypeAny, { - params: { - _meta?: z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - cursor?: string | undefined; - } & { - [k: string]: unknown; - }; - method: string; -}, { - params: { - _meta?: z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - cursor?: string | undefined; - } & { - [k: string]: unknown; - }; - method: string; -}>; -export declare const PaginatedResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. - */ - nextCursor: z.ZodOptional; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. - */ - nextCursor: z.ZodOptional; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. - */ - nextCursor: z.ZodOptional; -}>, z.ZodTypeAny, "passthrough">>; -/** - * The contents of a specific resource or sub-resource. - */ -export declare const ResourceContentsSchema: z.ZodObject<{ - /** - * The URI of this resource. - */ - uri: z.ZodString; - /** - * The MIME type of this resource, if known. - */ - mimeType: z.ZodOptional; -}, "strip", z.ZodTypeAny, { - uri: string; - mimeType?: string | undefined; -}, { - uri: string; - mimeType?: string | undefined; -}>; -export declare const TextResourceContentsSchema: z.ZodObject; -}, { - /** - * The text of the item. This must only be set if the item can actually be represented as text (not binary data). - */ - text: z.ZodString; -}>, "strip", z.ZodTypeAny, { - text: string; - uri: string; - mimeType?: string | undefined; -}, { - text: string; - uri: string; - mimeType?: string | undefined; -}>; -export declare const BlobResourceContentsSchema: z.ZodObject; -}, { - /** - * A base64-encoded string representing the binary data of the item. - */ - blob: z.ZodString; -}>, "strip", z.ZodTypeAny, { - uri: string; - blob: string; - mimeType?: string | undefined; -}, { - uri: string; - blob: string; - mimeType?: string | undefined; -}>; -/** - * A known resource that the server is capable of reading. - */ -export declare const ResourceSchema: z.ZodObject<{ - /** - * The URI of this resource. - */ - uri: z.ZodString; - /** - * A human-readable name for this resource. - * - * This can be used by clients to populate UI elements. - */ - name: z.ZodString; - /** - * A description of what this resource represents. - * - * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. - */ - description: z.ZodOptional; - /** - * The MIME type of this resource, if known. - */ - mimeType: z.ZodOptional; -}, "strip", z.ZodTypeAny, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; -}, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; -}>; -/** - * A template description for resources available on the server. - */ -export declare const ResourceTemplateSchema: z.ZodObject<{ - /** - * A URI template (according to RFC 6570) that can be used to construct resource URIs. - */ - uriTemplate: z.ZodString; - /** - * A human-readable name for the type of resource this template refers to. - * - * This can be used by clients to populate UI elements. - */ - name: z.ZodString; - /** - * A description of what this template is for. - * - * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. - */ - description: z.ZodOptional; - /** - * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. - */ - mimeType: z.ZodOptional; -}, "strip", z.ZodTypeAny, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; -}, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; -}>; -/** - * Sent from the client to request a list of resources the server has. - */ -export declare const ListResourcesRequestSchema: z.ZodObject>; + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the tool list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the tool list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional, z.objectInputType<{ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional>; + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the prompt list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the prompt list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional>; + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports subscribing to resource updates. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + subscribe: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the resource list. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - params: z.ZodObject; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports subscribing to resource updates. */ - progressToken: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + subscribe: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the resource list. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. - */ - cursor: z.ZodOptional; - }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; - }, { /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. + * Present if the server offers any tools to call. */ - cursor: z.ZodOptional; - }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the tool list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this server supports notifications for changes to the tool list. */ - progressToken: z.ZodOptional>; + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. - */ - cursor: z.ZodOptional; - }>, z.ZodTypeAny, "passthrough">>; -}>, { - method: z.ZodLiteral<"resources/list">; -}>, "strip", z.ZodTypeAny, { - params: { - _meta?: z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - cursor?: string | undefined; - } & { - [k: string]: unknown; - }; - method: "resources/list"; -}, { - params: { - _meta?: z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - cursor?: string | undefined; - } & { - [k: string]: unknown; - }; - method: "resources/list"; -}>; + }, z.ZodTypeAny, "passthrough">>; + serverInfo: z.ZodObject<{ + name: z.ZodString; + version: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; +}>, z.ZodTypeAny, "passthrough">>; /** - * The server's response to a resources/list request from the client. + * This notification is sent from the client to the server after initialization has finished. */ -export declare const ListResourcesResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. - */ - nextCursor: z.ZodOptional; -}>, { - resources: z.ZodArray, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * A description of what this resource represents. - * - * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. */ - description: z.ZodOptional; + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * The MIME type of this resource, if known. + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. */ - mimeType: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; - }, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; }, { - /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. - */ - nextCursor: z.ZodOptional; -}>, { - resources: z.ZodArray; + method: z.ZodLiteral<"notifications/initialized">; +}>, "strip", z.ZodTypeAny, { + method: "notifications/initialized"; + params?: z.objectOutputType<{ /** - * The MIME type of this resource, if known. + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. */ - mimeType: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; - }, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; }, { - /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. - */ - nextCursor: z.ZodOptional; -}>, { - resources: z.ZodArray; + method: "notifications/initialized"; + params?: z.objectInputType<{ /** - * The MIME type of this resource, if known. + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. */ - mimeType: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; - }, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">; -}>, z.ZodTypeAny, "passthrough">>; + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}>; /** - * Sent from the client to request a list of resource templates the server has. + * A ping, issued by either the server or the client, to check that the other party is still alive. The receiver must promptly respond, or else may be disconnected. */ -export declare const ListResourceTemplatesRequestSchema: z.ZodObject>>; }, z.ZodTypeAny, "passthrough">>>; }, { - params: z.ZodObject; +}>, "strip", z.ZodTypeAny, { + method: "ping"; + params?: z.objectOutputType<{ _meta: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. - */ - cursor: z.ZodOptional; - }>, "passthrough", z.ZodTypeAny, z.objectOutputType | undefined; +}, { + method: "ping"; + params?: z.objectInputType<{ _meta: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. - */ - cursor: z.ZodOptional; - }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. - */ - cursor: z.ZodOptional; - }>, z.ZodTypeAny, "passthrough">>; -}>, { - method: z.ZodLiteral<"resources/templates/list">; -}>, "strip", z.ZodTypeAny, { - params: { - _meta?: z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - cursor?: string | undefined; - } & { - [k: string]: unknown; - }; - method: "resources/templates/list"; -}, { - params: { - _meta?: z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - cursor?: string | undefined; - } & { - [k: string]: unknown; - }; - method: "resources/templates/list"; + }, z.ZodTypeAny, "passthrough"> | undefined; }>; -/** - * The server's response to a resources/templates/list request from the client. - */ -export declare const ListResourceTemplatesResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { + progress: z.ZodNumber; /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. + * Total number of items to process (or total progress required), if known. */ - nextCursor: z.ZodOptional; -}>, { - resourceTemplates: z.ZodArray; +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The progress thus far. This should increase every time progress is made, even if the total is unknown. + */ + progress: z.ZodNumber; + /** + * Total number of items to process (or total progress required), if known. + */ + total: z.ZodOptional; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The progress thus far. This should increase every time progress is made, even if the total is unknown. + */ + progress: z.ZodNumber; + /** + * Total number of items to process (or total progress required), if known. + */ + total: z.ZodOptional; +}, z.ZodTypeAny, "passthrough">>; +/** + * An out-of-band notification used to inform the receiver of a progress update for a long-running request. + */ +export declare const ProgressNotificationSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * A human-readable name for the type of resource this template refers to. - * - * This can be used by clients to populate UI elements. + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. */ - name: z.ZodString; + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * A description of what this template is for. - * - * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. */ - description: z.ZodOptional; + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"notifications/progress">; + params: z.ZodObject; - }, "strip", z.ZodTypeAny, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. - */ - nextCursor: z.ZodOptional; -}>, { - resourceTemplates: z.ZodArray; + }, { /** - * A human-readable name for the type of resource this template refers to. - * - * This can be used by clients to populate UI elements. + * The progress token which was given in the initial request, used to associate this notification with the request that is proceeding. */ - name: z.ZodString; + progressToken: z.ZodOptional>; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType; + progress: z.ZodNumber; /** - * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + * Total number of items to process (or total progress required), if known. */ - mimeType: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; + total: z.ZodOptional; }, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. - */ - nextCursor: z.ZodOptional; -}>, { - resourceTemplates: z.ZodArray>; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType; + total: z.ZodOptional; + }, { /** - * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + * The progress token which was given in the initial request, used to associate this notification with the request that is proceeding. */ - mimeType: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">; -}>, z.ZodTypeAny, "passthrough">>; -/** - * Sent from the client to the server, to read a specific resource URI. - */ -export declare const ReadResourceRequestSchema: z.ZodObject>; + }>, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + progress: number; + progressToken?: string | number | undefined; + total?: number | undefined; + } & { + [k: string]: unknown; + }; + method: "notifications/progress"; +}, { + params: { + progress: number; + progressToken?: string | number | undefined; + total?: number | undefined; + } & { + [k: string]: unknown; + }; + method: "notifications/progress"; +}>; +export declare const PaginatedRequestSchema: z.ZodObject>>; }, z.ZodTypeAny, "passthrough">>>; }, { - method: z.ZodLiteral<"resources/read">; params: z.ZodObject>>; }, { /** - * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it. + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. */ - uri: z.ZodString; + cursor: z.ZodOptional; }>, "passthrough", z.ZodTypeAny, z.objectOutputType>>; }, { /** - * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it. + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. */ - uri: z.ZodString; + cursor: z.ZodOptional; }>, z.ZodTypeAny, "passthrough">, z.objectInputType>>; }, { /** - * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it. + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. */ - uri: z.ZodString; + cursor: z.ZodOptional; }>, z.ZodTypeAny, "passthrough">>; }>, "strip", z.ZodTypeAny, { params: { - uri: string; _meta?: z.objectOutputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; + cursor?: string | undefined; } & { [k: string]: unknown; }; - method: "resources/read"; + method: string; }, { params: { - uri: string; _meta?: z.objectInputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; + cursor?: string | undefined; } & { [k: string]: unknown; }; - method: "resources/read"; + method: string; }>; -/** - * The server's response to a resources/read request from the client. - */ -export declare const ReadResourceResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - contents: z.ZodArray; - }, { - /** - * The text of the item. This must only be set if the item can actually be represented as text (not binary data). - */ - text: z.ZodString; - }>, "strip", z.ZodTypeAny, { - text: string; - uri: string; - mimeType?: string | undefined; - }, { - text: string; - uri: string; - mimeType?: string | undefined; - }>, z.ZodObject; - }, { - /** - * A base64-encoded string representing the binary data of the item. - */ - blob: z.ZodString; - }>, "strip", z.ZodTypeAny, { - uri: string; - blob: string; - mimeType?: string | undefined; - }, { - uri: string; - blob: string; - mimeType?: string | undefined; - }>]>, "many">; + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; }>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - contents: z.ZodArray; - }, { - /** - * The text of the item. This must only be set if the item can actually be represented as text (not binary data). - */ - text: z.ZodString; - }>, "strip", z.ZodTypeAny, { - text: string; - uri: string; - mimeType?: string | undefined; - }, { - text: string; - uri: string; - mimeType?: string | undefined; - }>, z.ZodObject; - }, { - /** - * A base64-encoded string representing the binary data of the item. - */ - blob: z.ZodString; - }>, "strip", z.ZodTypeAny, { - uri: string; - blob: string; - mimeType?: string | undefined; - }, { - uri: string; - blob: string; - mimeType?: string | undefined; - }>]>, "many">; + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; }>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - contents: z.ZodArray; - }, { - /** - * The text of the item. This must only be set if the item can actually be represented as text (not binary data). - */ - text: z.ZodString; - }>, "strip", z.ZodTypeAny, { - text: string; - uri: string; - mimeType?: string | undefined; - }, { - text: string; - uri: string; - mimeType?: string | undefined; - }>, z.ZodObject; - }, { - /** - * A base64-encoded string representing the binary data of the item. - */ - blob: z.ZodString; - }>, "strip", z.ZodTypeAny, { - uri: string; - blob: string; - mimeType?: string | undefined; - }, { - uri: string; - blob: string; - mimeType?: string | undefined; - }>]>, "many">; + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; }>, z.ZodTypeAny, "passthrough">>; /** - * An optional notification from the server to the client, informing it that the list of resources it can read from has changed. This may be issued by servers without any previous subscription from the client. + * The contents of a specific resource or sub-resource. */ -export declare const ResourceListChangedNotificationSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; +export declare const ResourceContentsSchema: z.ZodObject<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; +}, z.ZodTypeAny, "passthrough">>; +export declare const TextResourceContentsSchema: z.ZodObject; }, { - method: z.ZodLiteral<"notifications/resources/list_changed">; -}>, "strip", z.ZodTypeAny, { - method: "notifications/resources/list_changed"; - params?: z.objectOutputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; + /** + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + */ + text: z.ZodString; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType; }, { - method: "notifications/resources/list_changed"; - params?: z.objectInputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}>; -/** - * Sent from the client to request resources/updated notifications from the server whenever a particular resource changes. - */ -export declare const SubscribeRequestSchema: z.ZodObject>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + /** + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + */ + text: z.ZodString; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType; +}, { + /** + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + */ + text: z.ZodString; +}>, z.ZodTypeAny, "passthrough">>; +export declare const BlobResourceContentsSchema: z.ZodObject; +}, { + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType; +}, { + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType; +}, { + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; +}>, z.ZodTypeAny, "passthrough">>; +/** + * A known resource that the server is capable of reading. + */ +export declare const ResourceSchema: z.ZodObject<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; +}, z.ZodTypeAny, "passthrough">>; +/** + * A template description for resources available on the server. + */ +export declare const ResourceTemplateSchema: z.ZodObject<{ + /** + * A URI template (according to RFC 6570) that can be used to construct resource URIs. + */ + uriTemplate: z.ZodString; + /** + * A human-readable name for the type of resource this template refers to. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this template is for. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + */ + mimeType: z.ZodOptional; +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * A URI template (according to RFC 6570) that can be used to construct resource URIs. + */ + uriTemplate: z.ZodString; + /** + * A human-readable name for the type of resource this template refers to. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this template is for. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + */ + mimeType: z.ZodOptional; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * A URI template (according to RFC 6570) that can be used to construct resource URIs. + */ + uriTemplate: z.ZodString; + /** + * A human-readable name for the type of resource this template refers to. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this template is for. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + */ + mimeType: z.ZodOptional; +}, z.ZodTypeAny, "passthrough">>; +/** + * Sent from the client to request a list of resources the server has. + */ +export declare const ListResourcesRequestSchema: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"resources/subscribe">; - params: z.ZodObject>; }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it. - */ - uri: z.ZodString; - }>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{ _meta: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it. - */ - uri: z.ZodString; - }>, z.ZodTypeAny, "passthrough">, z.objectInputType>>; +}, { + params: z.ZodObject>>; }, { /** - * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it. + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. */ - uri: z.ZodString; - }>, z.ZodTypeAny, "passthrough">>; -}>, "strip", z.ZodTypeAny, { - params: { - uri: string; - _meta?: z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - } & { - [k: string]: unknown; - }; - method: "resources/subscribe"; -}, { - params: { - uri: string; - _meta?: z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - } & { - [k: string]: unknown; - }; - method: "resources/subscribe"; -}>; -/** - * Sent from the client to request cancellation of resources/updated notifications from the server. This should follow a previous resources/subscribe request. - */ -export declare const UnsubscribeRequestSchema: z.ZodObject>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"resources/unsubscribe">; - params: z.ZodObject>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * The URI of the resource to unsubscribe from. - */ - uri: z.ZodString; - }>, "passthrough", z.ZodTypeAny, z.objectOutputType; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>>; }, { /** - * The URI of the resource to unsubscribe from. + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. */ - uri: z.ZodString; + cursor: z.ZodOptional; }>, z.ZodTypeAny, "passthrough">, z.objectInputType>>; }, { /** - * The URI of the resource to unsubscribe from. + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. */ - uri: z.ZodString; + cursor: z.ZodOptional; }>, z.ZodTypeAny, "passthrough">>; +}>, { + method: z.ZodLiteral<"resources/list">; }>, "strip", z.ZodTypeAny, { params: { - uri: string; _meta?: z.objectOutputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; + cursor?: string | undefined; } & { [k: string]: unknown; }; - method: "resources/unsubscribe"; + method: "resources/list"; }, { params: { - uri: string; _meta?: z.objectInputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; + cursor?: string | undefined; } & { [k: string]: unknown; }; - method: "resources/unsubscribe"; + method: "resources/list"; }>; /** - * A notification from the server to the client, informing it that a resource has changed and may need to be read again. This should only be sent if the client previously sent a resources/subscribe request. + * The server's response to a resources/list request from the client. */ -export declare const ResourceUpdatedNotificationSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + resources: z.ZodArray, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + uri: z.ZodString; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The URI of this resource. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + uri: z.ZodString; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"notifications/resources/updated">; - params: z.ZodObject<{ + name: z.ZodString; /** - * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to. + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The URI of this resource. */ uri: z.ZodString; - }, "strip", z.ZodTypeAny, { - uri: string; - }, { - uri: string; - }>; -}>, "strip", z.ZodTypeAny, { - params: { - uri: string; - }; - method: "notifications/resources/updated"; -}, { - params: { - uri: string; - }; - method: "notifications/resources/updated"; -}>; -/** - * Describes an argument that a prompt can accept. - */ -export declare const PromptArgumentSchema: z.ZodObject<{ - /** - * The name of the argument. - */ - name: z.ZodString; - /** - * A human-readable description of the argument. - */ - description: z.ZodOptional; - /** - * Whether this argument must be provided. - */ - required: z.ZodOptional; -}, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - required?: boolean | undefined; -}, { - name: string; - description?: string | undefined; - required?: boolean | undefined; -}>; -/** - * A prompt or prompt template that the server offers. - */ -export declare const PromptSchema: z.ZodObject<{ - /** - * The name of the prompt or prompt template. - */ - name: z.ZodString; - /** - * An optional description of what this prompt provides - */ - description: z.ZodOptional; - /** - * A list of arguments to use for templating the prompt. - */ - arguments: z.ZodOptional; /** - * Whether this argument must be provided. + * The MIME type of this resource, if known. */ - required: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }, { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }>, "many">>; -}, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - arguments?: { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }[] | undefined; -}, { - name: string; - description?: string | undefined; - arguments?: { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }[] | undefined; -}>; -/** - * Sent from the client to request a list of prompts and prompt templates the server has. + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + resources: z.ZodArray; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + resources: z.ZodArray; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, z.ZodTypeAny, "passthrough">>; +/** + * Sent from the client to request a list of resource templates the server has. */ -export declare const ListPromptsRequestSchema: z.ZodObject; }>, z.ZodTypeAny, "passthrough">>; }>, { - method: z.ZodLiteral<"prompts/list">; + method: z.ZodLiteral<"resources/templates/list">; }>, "strip", z.ZodTypeAny, { params: { _meta?: z.objectOutputType<{ @@ -3632,7 +3406,7 @@ export declare const ListPromptsRequestSchema: z.ZodObject; /** - * The server's response to a prompts/list request from the client. + * The server's response to a resources/templates/list request from the client. */ -export declare const ListPromptsResultSchema: z.ZodObject; }>, { - prompts: z.ZodArray; /** - * A list of arguments to use for templating the prompt. + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. */ - arguments: z.ZodOptional; - /** - * Whether this argument must be provided. - */ - required: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }, { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }>, "many">>; - }, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - arguments?: { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }[] | undefined; - }, { - name: string; - description?: string | undefined; - arguments?: { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }[] | undefined; - }>, "many">; + mimeType: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * A URI template (according to RFC 6570) that can be used to construct resource URIs. + */ + uriTemplate: z.ZodString; + /** + * A human-readable name for the type of resource this template refers to. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this template is for. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * A URI template (according to RFC 6570) that can be used to construct resource URIs. + */ + uriTemplate: z.ZodString; + /** + * A human-readable name for the type of resource this template refers to. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this template is for. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">; }>, "passthrough", z.ZodTypeAny, z.objectOutputType; }>, { - prompts: z.ZodArray; + * A human-readable name for the type of resource this template refers to. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; /** - * A list of arguments to use for templating the prompt. + * A description of what this template is for. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. */ - arguments: z.ZodOptional; - /** - * Whether this argument must be provided. - */ - required: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }, { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }>, "many">>; - }, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - arguments?: { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }[] | undefined; - }, { - name: string; - description?: string | undefined; - arguments?: { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }[] | undefined; - }>, "many">; + description: z.ZodOptional; + /** + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + */ + mimeType: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * A URI template (according to RFC 6570) that can be used to construct resource URIs. + */ + uriTemplate: z.ZodString; + /** + * A human-readable name for the type of resource this template refers to. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this template is for. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * A URI template (according to RFC 6570) that can be used to construct resource URIs. + */ + uriTemplate: z.ZodString; + /** + * A human-readable name for the type of resource this template refers to. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this template is for. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">; }>, z.ZodTypeAny, "passthrough">, z.objectInputType; }>, { - prompts: z.ZodArray; /** - * A list of arguments to use for templating the prompt. + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. */ - arguments: z.ZodOptional; - /** - * Whether this argument must be provided. - */ - required: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }, { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }>, "many">>; - }, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - arguments?: { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }[] | undefined; - }, { - name: string; - description?: string | undefined; - arguments?: { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }[] | undefined; - }>, "many">; + mimeType: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * A URI template (according to RFC 6570) that can be used to construct resource URIs. + */ + uriTemplate: z.ZodString; + /** + * A human-readable name for the type of resource this template refers to. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this template is for. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * A URI template (according to RFC 6570) that can be used to construct resource URIs. + */ + uriTemplate: z.ZodString; + /** + * A human-readable name for the type of resource this template refers to. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this template is for. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">; }>, z.ZodTypeAny, "passthrough">>; /** - * Used by the client to get a prompt provided by the server. + * Sent from the client to the server, to read a specific resource URI. */ -export declare const GetPromptRequestSchema: z.ZodObject>>; }, z.ZodTypeAny, "passthrough">>>; }, { - method: z.ZodLiteral<"prompts/get">; + method: z.ZodLiteral<"resources/read">; params: z.ZodObject>>; }, { /** - * The name of the prompt or prompt template. - */ - name: z.ZodString; - /** - * Arguments to use for templating the prompt. + * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it. */ - arguments: z.ZodOptional>; + uri: z.ZodString; }>, "passthrough", z.ZodTypeAny, z.objectOutputType>>; }, { /** - * The name of the prompt or prompt template. - */ - name: z.ZodString; - /** - * Arguments to use for templating the prompt. + * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it. */ - arguments: z.ZodOptional>; + uri: z.ZodString; }>, z.ZodTypeAny, "passthrough">, z.objectInputType>>; }, { /** - * The name of the prompt or prompt template. - */ - name: z.ZodString; - /** - * Arguments to use for templating the prompt. + * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it. */ - arguments: z.ZodOptional>; + uri: z.ZodString; }>, z.ZodTypeAny, "passthrough">>; }>, "strip", z.ZodTypeAny, { params: { - name: string; + uri: string; _meta?: z.objectOutputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; - arguments?: Record | undefined; } & { [k: string]: unknown; }; - method: "prompts/get"; + method: "resources/read"; }, { params: { - name: string; + uri: string; _meta?: z.objectInputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; - arguments?: Record | undefined; } & { [k: string]: unknown; }; - method: "prompts/get"; + method: "resources/read"; }>; /** - * The server's response to a prompts/get request from the client. + * The server's response to a resources/read request from the client. */ -export declare const GetPromptResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - /** - * An optional description for the prompt. - */ - description: z.ZodOptional; - messages: z.ZodArray; - content: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"text">; - /** - * The text content of the message. - */ - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "text"; - text: string; - }, { - type: "text"; - text: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"image">; - /** - * The base64-encoded image data. - */ - data: z.ZodString; - /** - * The MIME type of the image. Different providers may support different image types. - */ - mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; - }, "strip", z.ZodTypeAny, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; + contents: z.ZodArray; }, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }>, "many">; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An optional description for the prompt. - */ - description: z.ZodOptional; - messages: z.ZodArray; - content: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"text">; - /** - * The text content of the message. - */ - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "text"; - text: string; - }, { - type: "text"; - text: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"image">; - /** - * The base64-encoded image data. - */ - data: z.ZodString; - /** - * The MIME type of the image. Different providers may support different image types. - */ - mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; - }, "strip", z.ZodTypeAny, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }>, "many">; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An optional description for the prompt. - */ - description: z.ZodOptional; - messages: z.ZodArray; - content: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"text">; - /** - * The text content of the message. - */ - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "text"; - text: string; - }, { - type: "text"; - text: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"image">; - /** - * The base64-encoded image data. - */ - data: z.ZodString; - /** - * The MIME type of the image. Different providers may support different image types. - */ - mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; - }, "strip", z.ZodTypeAny, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }>, "many">; -}>, z.ZodTypeAny, "passthrough">>; -/** - * An optional notification from the server to the client, informing it that the list of prompts it offers has changed. This may be issued by servers without any previous subscription from the client. - */ -export declare const PromptListChangedNotificationSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + text: z.ZodString; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + uri: z.ZodString; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The MIME type of this resource, if known. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"notifications/prompts/list_changed">; -}>, "strip", z.ZodTypeAny, { - method: "notifications/prompts/list_changed"; - params?: z.objectOutputType<{ + mimeType: z.ZodOptional; + }, { /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}, { - method: "notifications/prompts/list_changed"; - params?: z.objectInputType<{ + text: z.ZodString; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}>; -/** - * Definition for a tool the client can call. - */ -export declare const ToolSchema: z.ZodObject<{ - /** - * The name of the tool. - */ - name: z.ZodString; - /** - * A human-readable description of the tool. - */ - description: z.ZodOptional; - /** - * A JSON Schema object defining the expected parameters for the tool. - */ - inputSchema: z.ZodObject<{ - type: z.ZodLiteral<"object">; - properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - type: "object"; - properties?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + uri: z.ZodString; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; }, { - type: "object"; - properties?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>; -}, "strip", z.ZodTypeAny, { - name: string; - inputSchema: { - type: "object"; - properties?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - description?: string | undefined; -}, { - name: string; - inputSchema: { - type: "object"; - properties?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - description?: string | undefined; -}>; -/** - * Sent from the client to request a list of tools the server has. - */ -export declare const ListToolsRequestSchema: z.ZodObject>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - params: z.ZodObject>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; + /** + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + */ + text: z.ZodString; + }>, z.ZodTypeAny, "passthrough">>, z.ZodObject; }, { /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. + * A base64-encoded string representing the binary data of the item. */ - cursor: z.ZodOptional; + blob: z.ZodString; }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; }, { /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. + * A base64-encoded string representing the binary data of the item. */ - cursor: z.ZodOptional; + blob: z.ZodString; }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. + * The URI of this resource. */ - cursor: z.ZodOptional; - }>, z.ZodTypeAny, "passthrough">>; -}>, { - method: z.ZodLiteral<"tools/list">; -}>, "strip", z.ZodTypeAny, { - params: { - _meta?: z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - cursor?: string | undefined; - } & { - [k: string]: unknown; - }; - method: "tools/list"; -}, { - params: { - _meta?: z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - cursor?: string | undefined; - } & { - [k: string]: unknown; - }; - method: "tools/list"; -}>; -/** - * The server's response to a tools/list request from the client. - */ -export declare const ListToolsResultSchema: z.ZodObject; + }, { + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; + }>, z.ZodTypeAny, "passthrough">>]>, "many">; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. - */ - nextCursor: z.ZodOptional; -}>, { - tools: z.ZodArray; + mimeType: z.ZodOptional; + }, { /** - * A JSON Schema object defining the expected parameters for the tool. + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). */ - inputSchema: z.ZodObject<{ - type: z.ZodLiteral<"object">; - properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - type: "object"; - properties?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: "object"; - properties?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>; - }, "strip", z.ZodTypeAny, { - name: string; - inputSchema: { - type: "object"; - properties?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - description?: string | undefined; + text: z.ZodString; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType; }, { - name: string; - inputSchema: { - type: "object"; - properties?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - description?: string | undefined; - }>, "many">; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. - */ - nextCursor: z.ZodOptional; -}>, { - tools: z.ZodArray, z.ZodTypeAny, "passthrough">, z.objectInputType; + uri: z.ZodString; /** - * A JSON Schema object defining the expected parameters for the tool. + * The MIME type of this resource, if known. */ - inputSchema: z.ZodObject<{ - type: z.ZodLiteral<"object">; - properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - type: "object"; - properties?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: "object"; - properties?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>; - }, "strip", z.ZodTypeAny, { - name: string; - inputSchema: { - type: "object"; - properties?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - description?: string | undefined; + mimeType: z.ZodOptional; }, { - name: string; - inputSchema: { - type: "object"; - properties?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - description?: string | undefined; - }>, "many">; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. - */ - nextCursor: z.ZodOptional; -}>, { - tools: z.ZodArray, z.ZodTypeAny, "passthrough">>, z.ZodObject; + uri: z.ZodString; /** - * A JSON Schema object defining the expected parameters for the tool. + * The MIME type of this resource, if known. */ - inputSchema: z.ZodObject<{ - type: z.ZodLiteral<"object">; - properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - type: "object"; - properties?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: "object"; - properties?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>; - }, "strip", z.ZodTypeAny, { - name: string; - inputSchema: { - type: "object"; - properties?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - description?: string | undefined; + mimeType: z.ZodOptional; }, { - name: string; - inputSchema: { - type: "object"; - properties?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - description?: string | undefined; - }>, "many">; -}>, z.ZodTypeAny, "passthrough">>; -/** - * The server's response to a tool call. - */ -export declare const CallToolResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - toolResult: z.ZodUnknown; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - toolResult: z.ZodUnknown; + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType; + }, { + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType; + }, { + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; + }>, z.ZodTypeAny, "passthrough">>]>, "many">; }>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - toolResult: z.ZodUnknown; -}>, z.ZodTypeAny, "passthrough">>; -/** - * Used by the client to invoke a tool provided by the server. - */ -export declare const CallToolRequestSchema: z.ZodObject>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"tools/call">; - params: z.ZodObject>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; + contents: z.ZodArray; }, { - name: z.ZodString; - arguments: z.ZodOptional>; + /** + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + */ + text: z.ZodString; }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; }, { - name: z.ZodString; - arguments: z.ZodOptional>; + /** + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + */ + text: z.ZodString; }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; }, { - name: z.ZodString; - arguments: z.ZodOptional>; - }>, z.ZodTypeAny, "passthrough">>; -}>, "strip", z.ZodTypeAny, { - params: { - name: string; - _meta?: z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - arguments?: Record | undefined; - } & { - [k: string]: unknown; - }; - method: "tools/call"; -}, { - params: { - name: string; - _meta?: z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - arguments?: Record | undefined; - } & { - [k: string]: unknown; - }; - method: "tools/call"; -}>; + /** + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + */ + text: z.ZodString; + }>, z.ZodTypeAny, "passthrough">>, z.ZodObject; + }, { + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType; + }, { + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType; + }, { + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; + }>, z.ZodTypeAny, "passthrough">>]>, "many">; +}>, z.ZodTypeAny, "passthrough">>; /** - * An optional notification from the server to the client, informing it that the list of tools it offers has changed. This may be issued by servers without any previous subscription from the client. + * An optional notification from the server to the client, informing it that the list of resources it can read from has changed. This may be issued by servers without any previous subscription from the client. */ -export declare const ToolListChangedNotificationSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, { - method: z.ZodLiteral<"notifications/tools/list_changed">; + method: z.ZodLiteral<"notifications/resources/list_changed">; }>, "strip", z.ZodTypeAny, { - method: "notifications/tools/list_changed"; + method: "notifications/resources/list_changed"; params?: z.objectOutputType<{ /** * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. @@ -4797,7 +4115,7 @@ export declare const ToolListChangedNotificationSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { - method: "notifications/tools/list_changed"; + method: "notifications/resources/list_changed"; params?: z.objectInputType<{ /** * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. @@ -4806,13 +4124,9 @@ export declare const ToolListChangedNotificationSchema: z.ZodObject | undefined; }>; /** - * The severity of a log message. - */ -export declare const LoggingLevelSchema: z.ZodEnum<["debug", "info", "warning", "error"]>; -/** - * A request from the client to the server, to enable or adjust logging. + * Sent from the client to request resources/updated notifications from the server whenever a particular resource changes. */ -export declare const SetLevelRequestSchema: z.ZodObject>>; }, z.ZodTypeAny, "passthrough">>>; }, { - method: z.ZodLiteral<"logging/setLevel">; + method: z.ZodLiteral<"resources/subscribe">; params: z.ZodObject>>; }, { /** - * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message. + * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it. */ - level: z.ZodEnum<["debug", "info", "warning", "error"]>; + uri: z.ZodString; }>, "passthrough", z.ZodTypeAny, z.objectOutputType>>; }, { /** - * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message. + * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it. */ - level: z.ZodEnum<["debug", "info", "warning", "error"]>; + uri: z.ZodString; }>, z.ZodTypeAny, "passthrough">, z.objectInputType>>; }, { /** - * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message. + * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it. */ - level: z.ZodEnum<["debug", "info", "warning", "error"]>; + uri: z.ZodString; }>, z.ZodTypeAny, "passthrough">>; }>, "strip", z.ZodTypeAny, { params: { - level: "error" | "debug" | "info" | "warning"; + uri: string; _meta?: z.objectOutputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. @@ -4947,10 +4261,10 @@ export declare const SetLevelRequestSchema: z.ZodObject; /** - * Notification of a log message passed from server to client. If no logging/setLevel request has been sent from the client, the server MAY decide which messages to send automatically. + * Sent from the client to request cancellation of resources/updated notifications from the server. This should follow a previous resources/subscribe request. */ -export declare const LoggingMessageNotificationSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"notifications/message">; - params: z.ZodObject<{ - /** - * The severity of this log message. - */ - level: z.ZodEnum<["debug", "info", "warning", "error"]>; - /** - * An optional name of the logger issuing this message. - */ - logger: z.ZodOptional; - /** - * The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here. - */ - data: z.ZodUnknown; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warning"; - data?: unknown; - logger?: string | undefined; - }, { - level: "error" | "debug" | "info" | "warning"; - data?: unknown; - logger?: string | undefined; - }>; -}>, "strip", z.ZodTypeAny, { - params: { - level: "error" | "debug" | "info" | "warning"; - data?: unknown; - logger?: string | undefined; - }; - method: "notifications/message"; -}, { - params: { - level: "error" | "debug" | "info" | "warning"; - data?: unknown; - logger?: string | undefined; - }; - method: "notifications/message"; -}>; -/** - * A request from the server to sample an LLM via the client. The client has full discretion over which model to select. The client should also inform the user before beginning sampling, to allow them to inspect the request (human in the loop) and decide whether to approve it. - */ -export declare const CreateMessageRequestSchema: z.ZodObject>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ _meta: z.ZodOptional>>; }, z.ZodTypeAny, "passthrough">>>; }, { - method: z.ZodLiteral<"sampling/createMessage">; + method: z.ZodLiteral<"resources/unsubscribe">; params: z.ZodObject>; }, z.ZodTypeAny, "passthrough">>>; }, { - messages: z.ZodArray; - content: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"text">; - /** - * The text content of the message. - */ - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "text"; - text: string; - }, { - type: "text"; - text: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"image">; - /** - * The base64-encoded image data. - */ - data: z.ZodString; - /** - * The MIME type of the image. Different providers may support different image types. - */ - mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; - }, "strip", z.ZodTypeAny, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }>, "many">; /** - * An optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt. - */ - systemPrompt: z.ZodOptional; - /** - * A request to include context from one or more MCP servers (including the caller), to be attached to the prompt. The client MAY ignore this request. - */ - includeContext: z.ZodOptional>; - temperature: z.ZodOptional; - /** - * The maximum number of tokens to sample, as requested by the server. The client MAY choose to sample fewer tokens than requested. - */ - maxTokens: z.ZodNumber; - stopSequences: z.ZodOptional>; - /** - * Optional metadata to pass through to the LLM provider. The format of this metadata is provider-specific. + * The URI of the resource to unsubscribe from. */ - metadata: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + uri: z.ZodString; }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; }, z.ZodTypeAny, "passthrough">>>; }, { - messages: z.ZodArray; - content: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"text">; - /** - * The text content of the message. - */ - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "text"; - text: string; - }, { - type: "text"; - text: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"image">; - /** - * The base64-encoded image data. - */ - data: z.ZodString; - /** - * The MIME type of the image. Different providers may support different image types. - */ - mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; - }, "strip", z.ZodTypeAny, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }>, "many">; - /** - * An optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt. - */ - systemPrompt: z.ZodOptional; - /** - * A request to include context from one or more MCP servers (including the caller), to be attached to the prompt. The client MAY ignore this request. - */ - includeContext: z.ZodOptional>; - temperature: z.ZodOptional; - /** - * The maximum number of tokens to sample, as requested by the server. The client MAY choose to sample fewer tokens than requested. - */ - maxTokens: z.ZodNumber; - stopSequences: z.ZodOptional>; /** - * Optional metadata to pass through to the LLM provider. The format of this metadata is provider-specific. + * The URI of the resource to unsubscribe from. */ - metadata: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + uri: z.ZodString; }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; }, z.ZodTypeAny, "passthrough">>>; }, { - messages: z.ZodArray; - content: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"text">; - /** - * The text content of the message. - */ - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "text"; - text: string; - }, { - type: "text"; - text: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"image">; - /** - * The base64-encoded image data. - */ - data: z.ZodString; - /** - * The MIME type of the image. Different providers may support different image types. - */ - mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; - }, "strip", z.ZodTypeAny, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }>, "many">; - /** - * An optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt. - */ - systemPrompt: z.ZodOptional; - /** - * A request to include context from one or more MCP servers (including the caller), to be attached to the prompt. The client MAY ignore this request. - */ - includeContext: z.ZodOptional>; - temperature: z.ZodOptional; - /** - * The maximum number of tokens to sample, as requested by the server. The client MAY choose to sample fewer tokens than requested. - */ - maxTokens: z.ZodNumber; - stopSequences: z.ZodOptional>; /** - * Optional metadata to pass through to the LLM provider. The format of this metadata is provider-specific. + * The URI of the resource to unsubscribe from. */ - metadata: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + uri: z.ZodString; }>, z.ZodTypeAny, "passthrough">>; }>, "strip", z.ZodTypeAny, { params: { - messages: { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }[]; - maxTokens: number; + uri: string; _meta?: z.objectOutputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; - systemPrompt?: string | undefined; - includeContext?: "none" | "thisServer" | "allServers" | undefined; - temperature?: number | undefined; - stopSequences?: string[] | undefined; - metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; } & { [k: string]: unknown; }; - method: "sampling/createMessage"; + method: "resources/unsubscribe"; }, { params: { - messages: { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }[]; - maxTokens: number; + uri: string; _meta?: z.objectInputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; - systemPrompt?: string | undefined; - includeContext?: "none" | "thisServer" | "allServers" | undefined; - temperature?: number | undefined; - stopSequences?: string[] | undefined; - metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; } & { [k: string]: unknown; }; - method: "sampling/createMessage"; + method: "resources/unsubscribe"; }>; /** - * The client's response to a sampling/create_message request from the server. The client should inform the user before returning the sampled message, to allow them to inspect the response (human in the loop) and decide whether to allow the server to see it. + * A notification from the server to the client, informing it that a resource has changed and may need to be read again. This should only be sent if the client previously sent a resources/subscribe request. */ -export declare const CreateMessageResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * The name of the model that generated the message. - */ - model: z.ZodString; - /** - * The reason why sampling stopped. - */ - stopReason: z.ZodEnum<["endTurn", "stopSequence", "maxTokens"]>; - role: z.ZodEnum<["user", "assistant"]>; - content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ - type: z.ZodLiteral<"text">; +export declare const ResourceUpdatedNotificationSchema: z.ZodObject, z.ZodObject<{ - type: z.ZodLiteral<"image">; + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * The base64-encoded image data. + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. */ - data: z.ZodString; + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * The MIME type of the image. Different providers may support different image types. + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. */ - mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; }, { - /** - * The name of the model that generated the message. - */ - model: z.ZodString; - /** - * The reason why sampling stopped. - */ - stopReason: z.ZodEnum<["endTurn", "stopSequence", "maxTokens"]>; - role: z.ZodEnum<["user", "assistant"]>; - content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ - type: z.ZodLiteral<"text">; + method: z.ZodLiteral<"notifications/resources/updated">; + params: z.ZodObject<{ /** - * The text content of the message. + * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to. */ - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "text"; - text: string; - }, { - type: "text"; - text: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"image">; + uri: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * The base64-encoded image data. + * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to. */ - data: z.ZodString; + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * The MIME type of the image. Different providers may support different image types. + * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to. */ - mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType>; +}>, "strip", z.ZodTypeAny, { + params: { + uri: string; + } & { + [k: string]: unknown; + }; + method: "notifications/resources/updated"; +}, { + params: { + uri: string; + } & { + [k: string]: unknown; + }; + method: "notifications/resources/updated"; +}>; +/** + * Describes an argument that a prompt can accept. + */ +export declare const PromptArgumentSchema: z.ZodObject<{ /** - * This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses. + * The name of the argument. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { + name: z.ZodString; /** - * The name of the model that generated the message. + * A human-readable description of the argument. */ - model: z.ZodString; + description: z.ZodOptional; /** - * The reason why sampling stopped. + * Whether this argument must be provided. */ - stopReason: z.ZodEnum<["endTurn", "stopSequence", "maxTokens"]>; - role: z.ZodEnum<["user", "assistant"]>; - content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ - type: z.ZodLiteral<"text">; + required: z.ZodOptional; +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the argument. + */ + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument. + */ + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; +}, z.ZodTypeAny, "passthrough">>; +/** + * A prompt or prompt template that the server offers. + */ +export declare const PromptSchema: z.ZodObject<{ + /** + * The name of the prompt or prompt template. + */ + name: z.ZodString; + /** + * An optional description of what this prompt provides + */ + description: z.ZodOptional; + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.ZodOptional, z.ZodObject<{ - type: z.ZodLiteral<"image">; + name: z.ZodString; /** - * The base64-encoded image data. + * A human-readable description of the argument. */ - data: z.ZodString; + description: z.ZodOptional; /** - * The MIME type of the image. Different providers may support different image types. + * Whether this argument must be provided. */ - mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; -}>, z.ZodTypeAny, "passthrough">>; -/** - * A reference to a resource or resource template definition. - */ -export declare const ResourceReferenceSchema: z.ZodObject<{ - type: z.ZodLiteral<"ref/resource">; + required: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the argument. + */ + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument. + */ + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * The URI or URI template of the resource. + * The name of the prompt or prompt template. */ - uri: z.ZodString; -}, "strip", z.ZodTypeAny, { - type: "ref/resource"; - uri: string; -}, { - type: "ref/resource"; - uri: string; -}>; -/** - * Identifies a prompt. - */ -export declare const PromptReferenceSchema: z.ZodObject<{ - type: z.ZodLiteral<"ref/prompt">; + name: z.ZodString; /** - * The name of the prompt or prompt template + * An optional description of what this prompt provides */ - name: z.ZodString; -}, "strip", z.ZodTypeAny, { - type: "ref/prompt"; - name: string; -}, { - type: "ref/prompt"; - name: string; -}>; -/** - * A request from the client to the server, to ask for completion options. - */ -export declare const CompleteRequestSchema: z.ZodObject>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; + description: z.ZodOptional; + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; + /** + * The name of the argument. + */ + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument. + */ + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the prompt or prompt template. + */ + name: z.ZodString; + /** + * An optional description of what this prompt provides + */ + description: z.ZodOptional; + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the argument. + */ + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument. + */ + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; +}, z.ZodTypeAny, "passthrough">>; +/** + * Sent from the client to request a list of prompts and prompt templates the server has. + */ +export declare const ListPromptsRequestSchema: z.ZodObject>; }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"completion/complete">; - params: z.ZodObject>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - ref: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"ref/prompt">; - /** - * The name of the prompt or prompt template - */ - name: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "ref/prompt"; - name: string; - }, { - type: "ref/prompt"; - name: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"ref/resource">; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional]>; - /** - * The argument's information - */ - argument: z.ZodObject<{ + progressToken: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * The name of the argument + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ - name: z.ZodString; + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * The value of the argument to use for completion matching. + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - value: string; - name: string; - }, { - value: string; - name: string; - }>; - }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ _meta: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; - }, { - ref: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"ref/prompt">; + }, z.ZodTypeAny, "passthrough">>>; +}, { + params: z.ZodObject, z.ZodObject<{ - type: z.ZodLiteral<"ref/resource">; + progressToken: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * The URI or URI template of the resource. + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ - uri: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "ref/resource"; - uri: string; - }, { - type: "ref/resource"; - uri: string; - }>]>; + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { /** - * The argument's information + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. */ - argument: z.ZodObject<{ + cursor: z.ZodOptional; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * The value of the argument to use for completion matching. + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - value: string; - name: string; - }, { - value: string; - name: string; - }>; + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. + */ + cursor: z.ZodOptional; }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; }, z.ZodTypeAny, "passthrough">>>; }, { - ref: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"ref/prompt">; - /** - * The name of the prompt or prompt template - */ - name: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "ref/prompt"; - name: string; - }, { - type: "ref/prompt"; - name: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"ref/resource">; - /** - * The URI or URI template of the resource. - */ - uri: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "ref/resource"; - uri: string; - }, { - type: "ref/resource"; - uri: string; - }>]>; /** - * The argument's information + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. */ - argument: z.ZodObject<{ - /** - * The name of the argument - */ - name: z.ZodString; - /** - * The value of the argument to use for completion matching. - */ - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - value: string; - name: string; - }, { - value: string; - name: string; - }>; + cursor: z.ZodOptional; }>, z.ZodTypeAny, "passthrough">>; +}>, { + method: z.ZodLiteral<"prompts/list">; }>, "strip", z.ZodTypeAny, { params: { - ref: { - type: "ref/resource"; - uri: string; - } | { - type: "ref/prompt"; - name: string; - }; - argument: { - value: string; - name: string; - }; _meta?: z.objectOutputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; + cursor?: string | undefined; } & { [k: string]: unknown; }; - method: "completion/complete"; + method: "prompts/list"; }, { params: { - ref: { - type: "ref/resource"; - uri: string; - } | { - type: "ref/prompt"; - name: string; - }; - argument: { - value: string; - name: string; - }; _meta?: z.objectInputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; + cursor?: string | undefined; } & { [k: string]: unknown; }; - method: "completion/complete"; + method: "prompts/list"; }>; /** - * The server's response to a completion/complete request + * The server's response to a prompts/list request from the client. */ -export declare const CompleteResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - completion: z.ZodObject<{ + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + prompts: z.ZodArray; + name: z.ZodString; /** - * The total number of completion options available. This can exceed the number of values actually sent in the response. + * An optional description of what this prompt provides */ - total: z.ZodOptional; + description: z.ZodOptional; /** - * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + * A list of arguments to use for templating the prompt. */ - hasMore: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - values: string[]; - total?: number | undefined; - hasMore?: boolean | undefined; - }, { - values: string[]; - total?: number | undefined; - hasMore?: boolean | undefined; - }>; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - completion: z.ZodObject<{ - /** - * An array of completion values. Must not exceed 100 items. - */ - values: z.ZodArray; - /** - * The total number of completion options available. This can exceed the number of values actually sent in the response. - */ - total: z.ZodOptional; - /** - * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. - */ - hasMore: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - values: string[]; - total?: number | undefined; - hasMore?: boolean | undefined; - }, { - values: string[]; - total?: number | undefined; - hasMore?: boolean | undefined; - }>; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - completion: z.ZodObject<{ - /** - * An array of completion values. Must not exceed 100 items. - */ - values: z.ZodArray; - /** - * The total number of completion options available. This can exceed the number of values actually sent in the response. - */ - total: z.ZodOptional; - /** - * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. - */ - hasMore: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - values: string[]; - total?: number | undefined; - hasMore?: boolean | undefined; - }, { - values: string[]; - total?: number | undefined; - hasMore?: boolean | undefined; - }>; -}>, z.ZodTypeAny, "passthrough">>; -export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + arguments: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * A human-readable description of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; + required: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The name of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + description: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; + required: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The name of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"ping">; -}>, "strip", z.ZodTypeAny, { - method: "ping"; - params?: z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + description: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the prompt or prompt template. + */ + name: z.ZodString; + /** + * An optional description of what this prompt provides + */ + description: z.ZodOptional; + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}, { - method: "ping"; - params?: z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + description: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + required: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The name of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}>, z.ZodObject>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + description: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; + required: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The name of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + description: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the prompt or prompt template. + */ + name: z.ZodString; + /** + * An optional description of what this prompt provides + */ + description: z.ZodOptional; + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + description: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + required: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The name of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"initialize">; - params: z.ZodObject>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + description: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; + required: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The name of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well. - */ - protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; - capabilities: z.ZodObject<{ + name: z.ZodString; /** - * Experimental, non-standard capabilities that the client supports. + * A human-readable description of the argument. */ - experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + description: z.ZodOptional; /** - * Present if the client supports sampling from an LLM. + * Whether this argument must be provided. */ - sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>; - clientInfo: z.ZodObject<{ - name: z.ZodString; - version: z.ZodString; - }, "strip", z.ZodTypeAny, { - name: string; - version: string; - }, { - name: string; - version: string; - }>; - }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + prompts: z.ZodArray; + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * A human-readable description of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well. - */ - protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; - capabilities: z.ZodObject<{ + description: z.ZodOptional; /** - * Experimental, non-standard capabilities that the client supports. + * Whether this argument must be provided. */ - experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + required: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * Present if the client supports sampling from an LLM. + * The name of the argument. */ - sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>; - clientInfo: z.ZodObject<{ name: z.ZodString; - version: z.ZodString; - }, "strip", z.ZodTypeAny, { - name: string; - version: string; - }, { - name: string; - version: string; - }>; - }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + description: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; + required: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The name of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well. - */ - protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; - capabilities: z.ZodObject<{ + name: z.ZodString; /** - * Experimental, non-standard capabilities that the client supports. + * A human-readable description of the argument. */ - experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + description: z.ZodOptional; /** - * Present if the client supports sampling from an LLM. + * Whether this argument must be provided. */ - sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>; - clientInfo: z.ZodObject<{ - name: z.ZodString; - version: z.ZodString; - }, "strip", z.ZodTypeAny, { - name: string; - version: string; - }, { - name: string; - version: string; - }>; - }>, z.ZodTypeAny, "passthrough">>; -}>, "strip", z.ZodTypeAny, { - params: { - protocolVersion: string | number; - capabilities: { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - clientInfo: { - name: string; - version: string; - }; - _meta?: z.objectOutputType<{ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the prompt or prompt template. + */ + name: z.ZodString; + /** + * An optional description of what this prompt provides + */ + description: z.ZodOptional; + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - } & { - [k: string]: unknown; - }; - method: "initialize"; -}, { - params: { - protocolVersion: string | number; - capabilities: { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - clientInfo: { - name: string; - version: string; - }; - _meta?: z.objectInputType<{ + name: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * A human-readable description of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - } & { - [k: string]: unknown; - }; - method: "initialize"; -}>, z.ZodObject; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; + required: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The name of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * A human-readable description of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The name of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * A human-readable description of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the prompt or prompt template. + */ + name: z.ZodString; + /** + * An optional description of what this prompt provides + */ + description: z.ZodOptional; + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * A human-readable description of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"completion/complete">; - params: z.ZodObject; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; + required: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The name of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * A human-readable description of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - ref: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"ref/prompt">; + description: z.ZodOptional; /** - * The name of the prompt or prompt template + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument. */ name: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "ref/prompt"; - name: string; - }, { - type: "ref/prompt"; - name: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"ref/resource">; /** - * The URI or URI template of the resource. + * A human-readable description of the argument. */ - uri: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "ref/resource"; - uri: string; - }, { - type: "ref/resource"; - uri: string; - }>]>; + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + prompts: z.ZodArray; + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.ZodOptional; - }>, "passthrough", z.ZodTypeAny, z.objectOutputType; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; + required: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The name of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * A human-readable description of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - ref: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"ref/prompt">; + description: z.ZodOptional; /** - * The name of the prompt or prompt template + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument. */ name: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "ref/prompt"; - name: string; - }, { - type: "ref/prompt"; - name: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"ref/resource">; /** - * The URI or URI template of the resource. + * A human-readable description of the argument. */ - uri: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "ref/resource"; - uri: string; - }, { - type: "ref/resource"; - uri: string; - }>]>; + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * The argument's information + * The name of the prompt or prompt template. */ - argument: z.ZodObject<{ + name: z.ZodString; + /** + * An optional description of what this prompt provides + */ + description: z.ZodOptional; + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.ZodOptional; - }>, z.ZodTypeAny, "passthrough">, z.objectInputType; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; + required: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The name of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * A human-readable description of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - ref: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"ref/prompt">; + description: z.ZodOptional; /** - * The name of the prompt or prompt template + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument. */ name: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "ref/prompt"; - name: string; - }, { - type: "ref/prompt"; - name: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"ref/resource">; /** - * The URI or URI template of the resource. + * A human-readable description of the argument. */ - uri: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "ref/resource"; - uri: string; - }, { - type: "ref/resource"; - uri: string; - }>]>; + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * The argument's information + * The name of the prompt or prompt template. */ - argument: z.ZodObject<{ + name: z.ZodString; + /** + * An optional description of what this prompt provides + */ + description: z.ZodOptional; + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.ZodOptional; - }>, z.ZodTypeAny, "passthrough">>; -}>, "strip", z.ZodTypeAny, { - params: { - ref: { - type: "ref/resource"; - uri: string; - } | { - type: "ref/prompt"; - name: string; - }; - argument: { - value: string; - name: string; - }; - _meta?: z.objectOutputType<{ + description: z.ZodOptional; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * Whether this argument must be provided. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - } & { - [k: string]: unknown; - }; - method: "completion/complete"; -}, { - params: { - ref: { - type: "ref/resource"; - uri: string; - } | { - type: "ref/prompt"; - name: string; - }; - argument: { - value: string; - name: string; - }; - _meta?: z.objectInputType<{ + required: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The name of the argument. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - } & { - [k: string]: unknown; - }; - method: "completion/complete"; -}>, z.ZodObject; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument. + */ + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, z.ZodTypeAny, "passthrough">>; +/** + * Used by the client to get a prompt provided by the server. + */ +export declare const GetPromptRequestSchema: z.ZodObject>>; }, z.ZodTypeAny, "passthrough">>>; }, { - method: z.ZodLiteral<"logging/setLevel">; + method: z.ZodLiteral<"prompts/get">; params: z.ZodObject>>; }, { /** - * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message. + * The name of the prompt or prompt template. */ - level: z.ZodEnum<["debug", "info", "warning", "error"]>; + name: z.ZodString; + /** + * Arguments to use for templating the prompt. + */ + arguments: z.ZodOptional>; }>, "passthrough", z.ZodTypeAny, z.objectOutputType>>; }, { /** - * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message. + * The name of the prompt or prompt template. */ - level: z.ZodEnum<["debug", "info", "warning", "error"]>; + name: z.ZodString; + /** + * Arguments to use for templating the prompt. + */ + arguments: z.ZodOptional>; }>, z.ZodTypeAny, "passthrough">, z.objectInputType>>; }, { /** - * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message. + * The name of the prompt or prompt template. */ - level: z.ZodEnum<["debug", "info", "warning", "error"]>; + name: z.ZodString; + /** + * Arguments to use for templating the prompt. + */ + arguments: z.ZodOptional>; }>, z.ZodTypeAny, "passthrough">>; }>, "strip", z.ZodTypeAny, { params: { - level: "error" | "debug" | "info" | "warning"; + name: string; _meta?: z.objectOutputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; + arguments?: Record | undefined; } & { [k: string]: unknown; }; - method: "logging/setLevel"; + method: "prompts/get"; }, { params: { - level: "error" | "debug" | "info" | "warning"; + name: string; _meta?: z.objectInputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; + arguments?: Record | undefined; } & { [k: string]: unknown; }; - method: "logging/setLevel"; -}>, z.ZodObject; +/** + * The server's response to a prompts/get request from the client. + */ +export declare const GetPromptResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An optional description for the prompt. + */ + description: z.ZodOptional; + messages: z.ZodArray; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>, z.ZodObject<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + data: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The MIME type of the image. Different providers may support different image types. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + data: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The MIME type of the image. Different providers may support different image types. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"prompts/get">; - params: z.ZodObject>]>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * The name of the prompt or prompt template. - */ - name: z.ZodString; - /** - * Arguments to use for templating the prompt. - */ - arguments: z.ZodOptional>; - }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * The name of the prompt or prompt template. - */ - name: z.ZodString; - /** - * Arguments to use for templating the prompt. - */ - arguments: z.ZodOptional>; - }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + mimeType: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + data: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The MIME type of the image. Different providers may support different image types. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * The name of the prompt or prompt template. - */ - name: z.ZodString; - /** - * Arguments to use for templating the prompt. - */ - arguments: z.ZodOptional>; - }>, z.ZodTypeAny, "passthrough">>; -}>, "strip", z.ZodTypeAny, { - params: { - name: string; - _meta?: z.objectOutputType<{ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - arguments?: Record | undefined; - } & { - [k: string]: unknown; - }; - method: "prompts/get"; -}, { - params: { - name: string; - _meta?: z.objectInputType<{ + data: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The MIME type of the image. Different providers may support different image types. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - arguments?: Record | undefined; - } & { - [k: string]: unknown; - }; - method: "prompts/get"; -}>, z.ZodObject>]>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>, z.ZodObject<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + data: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The MIME type of the image. Different providers may support different image types. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + data: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The MIME type of the image. Different providers may support different image types. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - params: z.ZodObject; + messages: z.ZodArray; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. - */ - cursor: z.ZodOptional; - }>, "passthrough", z.ZodTypeAny, z.objectOutputType>, z.ZodObject<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. - */ - cursor: z.ZodOptional; - }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. - */ - cursor: z.ZodOptional; - }>, z.ZodTypeAny, "passthrough">>; -}>, { - method: z.ZodLiteral<"prompts/list">; -}>, "strip", z.ZodTypeAny, { - params: { - _meta?: z.objectOutputType<{ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - cursor?: string | undefined; - } & { - [k: string]: unknown; - }; - method: "prompts/list"; -}, { - params: { - _meta?: z.objectInputType<{ + data: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The MIME type of the image. Different providers may support different image types. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - cursor?: string | undefined; - } & { - [k: string]: unknown; - }; - method: "prompts/list"; -}>, z.ZodObject; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + data: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The MIME type of the image. Different providers may support different image types. */ - progressToken: z.ZodOptional>; + mimeType: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>; + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional>, z.ZodObject<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - params: z.ZodObject; + messages: z.ZodArray; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. - */ - cursor: z.ZodOptional; - }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. - */ - cursor: z.ZodOptional; - }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + mimeType: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + data: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The MIME type of the image. Different providers may support different image types. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. - */ - cursor: z.ZodOptional; - }>, z.ZodTypeAny, "passthrough">>; -}>, { - method: z.ZodLiteral<"resources/list">; -}>, "strip", z.ZodTypeAny, { - params: { - _meta?: z.objectOutputType<{ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - cursor?: string | undefined; - } & { - [k: string]: unknown; - }; - method: "resources/list"; -}, { - params: { - _meta?: z.objectInputType<{ + data: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The MIME type of the image. Different providers may support different image types. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - cursor?: string | undefined; - } & { - [k: string]: unknown; - }; - method: "resources/list"; -}>, z.ZodObject>]>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>, z.ZodObject<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + data: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The MIME type of the image. Different providers may support different image types. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + data: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The MIME type of the image. Different providers may support different image types. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"resources/read">; - params: z.ZodObject>]>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; + text: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it. - */ - uri: z.ZodString; - }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The text content of the message. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it. - */ - uri: z.ZodString; - }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + mimeType: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + data: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The MIME type of the image. Different providers may support different image types. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { - /** - * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it. - */ - uri: z.ZodString; - }>, z.ZodTypeAny, "passthrough">>; -}>, "strip", z.ZodTypeAny, { - params: { - uri: string; - _meta?: z.objectOutputType<{ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - } & { - [k: string]: unknown; - }; - method: "resources/read"; -}, { - params: { - uri: string; - _meta?: z.objectInputType<{ + data: z.ZodString; /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + * The MIME type of the image. Different providers may support different image types. */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - } & { - [k: string]: unknown; - }; - method: "resources/read"; -}>, z.ZodObject>]>; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, z.ZodTypeAny, "passthrough">>; +/** + * An optional notification from the server to the client, informing it that the list of prompts it offers has changed. This may be issued by servers without any previous subscription from the client. + */ +export declare const PromptListChangedNotificationSchema: z.ZodObject>; + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"notifications/prompts/list_changed">; +}>, "strip", z.ZodTypeAny, { + method: "notifications/prompts/list_changed"; + params?: z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}, { + method: "notifications/prompts/list_changed"; + params?: z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}>; +/** + * Definition for a tool the client can call. + */ +export declare const ToolSchema: z.ZodObject<{ + /** + * The name of the tool. + */ + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the tool. + */ + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the tool. + */ + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; +}, z.ZodTypeAny, "passthrough">>; +/** + * Sent from the client to request a list of tools the server has. + */ +export declare const ListToolsRequestSchema: z.ZodObject>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. @@ -7416,7 +6185,6 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject>>; }, z.ZodTypeAny, "passthrough">>>; }, { - method: z.ZodLiteral<"resources/subscribe">; params: z.ZodObject>>; }, { /** - * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it. + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. */ - uri: z.ZodString; + cursor: z.ZodOptional; }>, "passthrough", z.ZodTypeAny, z.objectOutputType>>; }, { /** - * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it. + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. */ - uri: z.ZodString; + cursor: z.ZodOptional; }>, z.ZodTypeAny, "passthrough">, z.objectInputType>>; }, { /** - * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it. + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. */ - uri: z.ZodString; + cursor: z.ZodOptional; }>, z.ZodTypeAny, "passthrough">>; +}>, { + method: z.ZodLiteral<"tools/list">; }>, "strip", z.ZodTypeAny, { params: { - uri: string; _meta?: z.objectOutputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; + cursor?: string | undefined; } & { [k: string]: unknown; }; - method: "resources/subscribe"; + method: "tools/list"; }, { params: { - uri: string; _meta?: z.objectInputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; + cursor?: string | undefined; } & { [k: string]: unknown; }; - method: "resources/subscribe"; -}>, z.ZodObject>; + method: "tools/list"; +}>; +/** + * The server's response to a tools/list request from the client. + */ +export declare const ListToolsResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + tools: z.ZodArray; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>; + /** + * The name of the tool. + */ + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional>; + /** + * The name of the tool. + */ + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - method: z.ZodLiteral<"resources/unsubscribe">; - params: z.ZodObject>; + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + tools: z.ZodArray; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * The URI of the resource to unsubscribe from. + * The name of the tool. */ - uri: z.ZodString; - }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * The URI of the resource to unsubscribe from. + * The name of the tool. */ - uri: z.ZodString; - }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, { + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + tools: z.ZodArray, z.ZodTypeAny, "passthrough">>; -}>, "strip", z.ZodTypeAny, { - params: { - uri: string; - _meta?: z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - } & { - [k: string]: unknown; - }; - method: "resources/unsubscribe"; + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the tool. + */ + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the tool. + */ + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, z.ZodTypeAny, "passthrough">>; +/** + * The server's response to a tool call. + */ +export declare const CallToolResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - params: { - uri: string; - _meta?: z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - } & { - [k: string]: unknown; - }; - method: "resources/unsubscribe"; -}>, z.ZodObject, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + toolResult: z.ZodUnknown; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + toolResult: z.ZodUnknown; +}>, z.ZodTypeAny, "passthrough">>; +/** + * Used by the client to invoke a tool provided by the server. + */ +export declare const CallToolRequestSchema: z.ZodObject, z.ZodObject; +/** + * An optional notification from the server to the client, informing it that the list of tools it offers has changed. This may be issued by servers without any previous subscription from the client. + */ +export declare const ToolListChangedNotificationSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"notifications/tools/list_changed">; +}>, "strip", z.ZodTypeAny, { + method: "notifications/tools/list_changed"; + params?: z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}, { + method: "notifications/tools/list_changed"; + params?: z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}>; +/** + * The severity of a log message. + */ +export declare const LoggingLevelSchema: z.ZodEnum<["debug", "info", "warning", "error"]>; +/** + * A request from the client to the server, to enable or adjust logging. + */ +export declare const SetLevelRequestSchema: z.ZodObject>>; }, z.ZodTypeAny, "passthrough">>>; }, { + method: z.ZodLiteral<"logging/setLevel">; params: z.ZodObject>>; }, { /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. + * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message. */ - cursor: z.ZodOptional; + level: z.ZodEnum<["debug", "info", "warning", "error"]>; }>, "passthrough", z.ZodTypeAny, z.objectOutputType>>; }, { /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. + * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message. */ - cursor: z.ZodOptional; + level: z.ZodEnum<["debug", "info", "warning", "error"]>; }>, z.ZodTypeAny, "passthrough">, z.objectInputType>>; }, { /** - * An opaque token representing the current pagination position. - * If provided, the server should return results starting after this cursor. + * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message. */ - cursor: z.ZodOptional; + level: z.ZodEnum<["debug", "info", "warning", "error"]>; }>, z.ZodTypeAny, "passthrough">>; -}>, { - method: z.ZodLiteral<"tools/list">; }>, "strip", z.ZodTypeAny, { params: { + level: "error" | "debug" | "info" | "warning"; _meta?: z.objectOutputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; - cursor?: string | undefined; } & { [k: string]: unknown; }; - method: "tools/list"; + method: "logging/setLevel"; }, { params: { + level: "error" | "debug" | "info" | "warning"; _meta?: z.objectInputType<{ /** * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. */ progressToken: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; - cursor?: string | undefined; } & { [k: string]: unknown; }; - method: "tools/list"; -}>]>; -export declare const ClientNotificationSchema: z.ZodUnion<[z.ZodObject; +/** + * Notification of a log message passed from server to client. If no logging/setLevel request has been sent from the client, the server MAY decide which messages to send automatically. + */ +export declare const LoggingMessageNotificationSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, { - method: z.ZodLiteral<"notifications/progress">; - params: z.ZodObject; + params: z.ZodObject<{ /** - * Total number of items to process (or total progress required), if known. + * The severity of this log message. */ - total: z.ZodOptional; - }, { + level: z.ZodEnum<["debug", "info", "warning", "error"]>; /** - * The progress token which was given in the initial request, used to associate this notification with the request that is proceeding. + * An optional name of the logger issuing this message. */ - progressToken: z.ZodOptional>; - }>, "strip", z.ZodTypeAny, { - progress: number; - progressToken?: string | number | undefined; - total?: number | undefined; - }, { - progress: number; - progressToken?: string | number | undefined; - total?: number | undefined; - }>; -}>, "strip", z.ZodTypeAny, { - params: { - progress: number; - progressToken?: string | number | undefined; - total?: number | undefined; - }; - method: "notifications/progress"; -}, { - params: { - progress: number; - progressToken?: string | number | undefined; - total?: number | undefined; - }; - method: "notifications/progress"; -}>, z.ZodObject; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + data: z.ZodUnknown; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"notifications/initialized">; -}>, "strip", z.ZodTypeAny, { - method: "notifications/initialized"; - params?: z.objectOutputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}, { - method: "notifications/initialized"; - params?: z.objectInputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}>]>; -export declare const ClientResultSchema: z.ZodUnion<[z.ZodObject<{ - /** - * This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, "strict", z.ZodTypeAny, { - _meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; -}, { - _meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; -}>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * The name of the model that generated the message. - */ - model: z.ZodString; - /** - * The reason why sampling stopped. - */ - stopReason: z.ZodEnum<["endTurn", "stopSequence", "maxTokens"]>; - role: z.ZodEnum<["user", "assistant"]>; - content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ - type: z.ZodLiteral<"text">; - /** - * The text content of the message. + * The severity of this log message. */ - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "text"; - text: string; - }, { - type: "text"; - text: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"image">; + level: z.ZodEnum<["debug", "info", "warning", "error"]>; /** - * The base64-encoded image data. + * An optional name of the logger issuing this message. */ - data: z.ZodString; + logger: z.ZodOptional; /** - * The MIME type of the image. Different providers may support different image types. + * The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here. */ - mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * The name of the model that generated the message. - */ - model: z.ZodString; - /** - * The reason why sampling stopped. - */ - stopReason: z.ZodEnum<["endTurn", "stopSequence", "maxTokens"]>; - role: z.ZodEnum<["user", "assistant"]>; - content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ - type: z.ZodLiteral<"text">; + data: z.ZodUnknown; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * The text content of the message. + * The severity of this log message. */ - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "text"; - text: string; - }, { - type: "text"; - text: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"image">; + level: z.ZodEnum<["debug", "info", "warning", "error"]>; /** - * The base64-encoded image data. + * An optional name of the logger issuing this message. */ - data: z.ZodString; + logger: z.ZodOptional; /** - * The MIME type of the image. Different providers may support different image types. + * The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here. */ - mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + data: z.ZodUnknown; + }, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + level: "error" | "debug" | "info" | "warning"; + data?: unknown; + logger?: string | undefined; + } & { + [k: string]: unknown; + }; + method: "notifications/message"; }, { - /** - * The name of the model that generated the message. - */ - model: z.ZodString; - /** - * The reason why sampling stopped. - */ - stopReason: z.ZodEnum<["endTurn", "stopSequence", "maxTokens"]>; - role: z.ZodEnum<["user", "assistant"]>; - content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ - type: z.ZodLiteral<"text">; - /** - * The text content of the message. - */ - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "text"; - text: string; - }, { - type: "text"; - text: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"image">; - /** - * The base64-encoded image data. - */ - data: z.ZodString; - /** - * The MIME type of the image. Different providers may support different image types. - */ - mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; -}>, z.ZodTypeAny, "passthrough">>]>; -export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"ping">; -}>, "strip", z.ZodTypeAny, { - method: "ping"; - params?: z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}, { - method: "ping"; - params?: z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}>, z.ZodObject; +/** + * A request from the server to sample an LLM via the client. The client has full discretion over which model to select. The client should also inform the user before beginning sampling, to allow them to inspect the request (human in the loop) and decide whether to approve it. + */ +export declare const CreateMessageRequestSchema: z.ZodObject, z.ZodObject<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"image">; /** * The base64-encoded image data. @@ -8394,36 +7146,69 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject]>; - }, "strip", z.ZodTypeAny, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }>, "many">; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">>, "many">; /** * An optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt. */ @@ -8468,13 +7253,19 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject, z.ZodObject<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"image">; /** * The base64-encoded image data. @@ -8484,36 +7275,130 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject]>; - }, "strip", z.ZodTypeAny, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }>, "many">; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">>, "many">; /** * An optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt. */ @@ -8558,13 +7443,141 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject, z.ZodObject<{ + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"image">; /** * The base64-encoded image data. @@ -8574,36 +7587,8 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject]>; - }, "strip", z.ZodTypeAny, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }>, "many">; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">>, "many">; /** * An optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt. */ @@ -8625,1058 +7610,6277 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject, z.ZodTypeAny, "passthrough">>; }>, "strip", z.ZodTypeAny, { params: { - messages: { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }[]; - maxTokens: number; - _meta?: z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - systemPrompt?: string | undefined; - includeContext?: "none" | "thisServer" | "allServers" | undefined; - temperature?: number | undefined; - stopSequences?: string[] | undefined; - metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - } & { - [k: string]: unknown; - }; - method: "sampling/createMessage"; -}, { - params: { - messages: { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }[]; - maxTokens: number; - _meta?: z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough"> | undefined; - systemPrompt?: string | undefined; - includeContext?: "none" | "thisServer" | "allServers" | undefined; - temperature?: number | undefined; - stopSequences?: string[] | undefined; - metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + messages: z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">[]; + maxTokens: number; + _meta?: z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + systemPrompt?: string | undefined; + includeContext?: "none" | "thisServer" | "allServers" | undefined; + temperature?: number | undefined; + stopSequences?: string[] | undefined; + metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; } & { [k: string]: unknown; }; method: "sampling/createMessage"; -}>]>; -export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">[]; + maxTokens: number; + _meta?: z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + systemPrompt?: string | undefined; + includeContext?: "none" | "thisServer" | "allServers" | undefined; + temperature?: number | undefined; + stopSequences?: string[] | undefined; + metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "sampling/createMessage"; +}>; +/** + * The client's response to a sampling/create_message request from the server. The client should inform the user before returning the sampled message, to allow them to inspect the response (human in the loop) and decide whether to allow the server to see it. + */ +export declare const CreateMessageResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * The name of the model that generated the message. + */ + model: z.ZodString; + /** + * The reason why sampling stopped. + */ + stopReason: z.ZodEnum<["endTurn", "stopSequence", "maxTokens"]>; + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ + type: z.ZodLiteral<"text">; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The text content of the message. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + text: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The text content of the message. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + text: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The text content of the message. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"notifications/progress">; - params: z.ZodObject>, z.ZodObject<{ + type: z.ZodLiteral<"image">; /** - * The progress thus far. This should increase every time progress is made, even if the total is unknown. + * The base64-encoded image data. */ - progress: z.ZodNumber; + data: z.ZodString; /** - * Total number of items to process (or total progress required), if known. + * The MIME type of the image. Different providers may support different image types. */ - total: z.ZodOptional; - }, { + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; /** - * The progress token which was given in the initial request, used to associate this notification with the request that is proceeding. + * The base64-encoded image data. */ - progressToken: z.ZodOptional>; - }>, "strip", z.ZodTypeAny, { - progress: number; - progressToken?: string | number | undefined; - total?: number | undefined; - }, { - progress: number; - progressToken?: string | number | undefined; - total?: number | undefined; - }>; -}>, "strip", z.ZodTypeAny, { - params: { - progress: number; - progressToken?: string | number | undefined; - total?: number | undefined; - }; - method: "notifications/progress"; -}, { - params: { - progress: number; - progressToken?: string | number | undefined; - total?: number | undefined; - }; - method: "notifications/progress"; -}>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The base64-encoded image data. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + data: z.ZodString; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The MIME type of the image. Different providers may support different image types. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - method: z.ZodLiteral<"notifications/message">; - params: z.ZodObject<{ + /** + * The name of the model that generated the message. + */ + model: z.ZodString; + /** + * The reason why sampling stopped. + */ + stopReason: z.ZodEnum<["endTurn", "stopSequence", "maxTokens"]>; + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ + type: z.ZodLiteral<"text">; /** - * The severity of this log message. + * The text content of the message. */ - level: z.ZodEnum<["debug", "info", "warning", "error"]>; + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * An optional name of the logger issuing this message. + * The text content of the message. */ - logger: z.ZodOptional; + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here. + * The text content of the message. */ - data: z.ZodUnknown; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warning"; - data?: unknown; - logger?: string | undefined; - }, { - level: "error" | "debug" | "info" | "warning"; - data?: unknown; - logger?: string | undefined; - }>; -}>, "strip", z.ZodTypeAny, { - params: { - level: "error" | "debug" | "info" | "warning"; - data?: unknown; - logger?: string | undefined; - }; - method: "notifications/message"; -}, { - params: { - level: "error" | "debug" | "info" | "warning"; - data?: unknown; - logger?: string | undefined; - }; - method: "notifications/message"; -}>, z.ZodObject>, z.ZodObject<{ + type: z.ZodLiteral<"image">; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The base64-encoded image data. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The base64-encoded image data. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The base64-encoded image data. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"notifications/resources/updated">; - params: z.ZodObject<{ + data: z.ZodString; /** - * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to. + * The MIME type of the image. Different providers may support different image types. */ - uri: z.ZodString; - }, "strip", z.ZodTypeAny, { - uri: string; - }, { - uri: string; - }>; -}>, "strip", z.ZodTypeAny, { - params: { - uri: string; - }; - method: "notifications/resources/updated"; + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - params: { - uri: string; - }; - method: "notifications/resources/updated"; -}>, z.ZodObject; + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ + type: z.ZodLiteral<"text">; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The text content of the message. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + text: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The text content of the message. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + text: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"notifications/resources/list_changed">; -}>, "strip", z.ZodTypeAny, { - method: "notifications/resources/list_changed"; - params?: z.objectOutputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The text content of the message. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}, { - method: "notifications/resources/list_changed"; - params?: z.objectInputType<{ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The base64-encoded image data. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + mimeType: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The base64-encoded image data. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + data: z.ZodString; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The MIME type of the image. Different providers may support different image types. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"notifications/tools/list_changed">; -}>, "strip", z.ZodTypeAny, { - method: "notifications/tools/list_changed"; - params?: z.objectOutputType<{ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The base64-encoded image data. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}, { - method: "notifications/tools/list_changed"; - params?: z.objectInputType<{ + data: z.ZodString; /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + * The MIME type of the image. Different providers may support different image types. */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}>, z.ZodObject>]>; +}>, z.ZodTypeAny, "passthrough">>; +/** + * A reference to a resource or resource template definition. + */ +export declare const ResourceReferenceSchema: z.ZodObject<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; +}, z.ZodTypeAny, "passthrough">>; +/** + * Identifies a prompt. + */ +export declare const PromptReferenceSchema: z.ZodObject<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; +}, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; +}, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; +}, z.ZodTypeAny, "passthrough">>; +/** + * A request from the client to the server, to ask for completion options. + */ +export declare const CompleteRequestSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"completion/complete">; + params: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + ref: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + /** + * The argument's information + */ + argument: z.ZodObject<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + ref: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + /** + * The argument's information + */ + argument: z.ZodObject<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + ref: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + /** + * The argument's information + */ + argument: z.ZodObject<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; + }>, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + ref: z.objectOutputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">; + argument: { + value: string; + name: string; + } & { + [k: string]: unknown; + }; + _meta?: z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "completion/complete"; +}, { + params: { + ref: z.objectInputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">; + argument: { + value: string; + name: string; + } & { + [k: string]: unknown; + }; + _meta?: z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "completion/complete"; +}>; +/** + * The server's response to a completion/complete request + */ +export declare const CompleteResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + completion: z.ZodObject<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + completion: z.ZodObject<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + completion: z.ZodObject<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>; +}>, z.ZodTypeAny, "passthrough">>; +export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"ping">; +}>, "strip", z.ZodTypeAny, { + method: "ping"; + params?: z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}, { + method: "ping"; + params?: z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}>, z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"initialize">; + params: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well. + */ + protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; + capabilities: z.ZodObject<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + clientInfo: z.ZodObject<{ + name: z.ZodString; + version: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well. + */ + protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; + capabilities: z.ZodObject<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + clientInfo: z.ZodObject<{ + name: z.ZodString; + version: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well. + */ + protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; + capabilities: z.ZodObject<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Experimental, non-standard capabilities that the client supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the client supports sampling from an LLM. + */ + sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + clientInfo: z.ZodObject<{ + name: z.ZodString; + version: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; + }>, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + protocolVersion: string | number; + capabilities: { + experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + clientInfo: { + name: string; + version: string; + } & { + [k: string]: unknown; + }; + _meta?: z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "initialize"; +}, { + params: { + protocolVersion: string | number; + capabilities: { + experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + clientInfo: { + name: string; + version: string; + } & { + [k: string]: unknown; + }; + _meta?: z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "initialize"; +}>, z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"completion/complete">; + params: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + ref: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + /** + * The argument's information + */ + argument: z.ZodObject<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + ref: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + /** + * The argument's information + */ + argument: z.ZodObject<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + ref: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + /** + * The argument's information + */ + argument: z.ZodObject<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument + */ + name: z.ZodString; + /** + * The value of the argument to use for completion matching. + */ + value: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; + }>, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + ref: z.objectOutputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">; + argument: { + value: string; + name: string; + } & { + [k: string]: unknown; + }; + _meta?: z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "completion/complete"; +}, { + params: { + ref: z.objectInputType<{ + type: z.ZodLiteral<"ref/resource">; + /** + * The URI or URI template of the resource. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ + type: z.ZodLiteral<"ref/prompt">; + /** + * The name of the prompt or prompt template + */ + name: z.ZodString; + }, z.ZodTypeAny, "passthrough">; + argument: { + value: string; + name: string; + } & { + [k: string]: unknown; + }; + _meta?: z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "completion/complete"; +}>, z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"logging/setLevel">; + params: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message. + */ + level: z.ZodEnum<["debug", "info", "warning", "error"]>; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message. + */ + level: z.ZodEnum<["debug", "info", "warning", "error"]>; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message. + */ + level: z.ZodEnum<["debug", "info", "warning", "error"]>; + }>, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + level: "error" | "debug" | "info" | "warning"; + _meta?: z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "logging/setLevel"; +}, { + params: { + level: "error" | "debug" | "info" | "warning"; + _meta?: z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "logging/setLevel"; +}>, z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"prompts/get">; + params: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The name of the prompt or prompt template. + */ + name: z.ZodString; + /** + * Arguments to use for templating the prompt. + */ + arguments: z.ZodOptional>; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The name of the prompt or prompt template. + */ + name: z.ZodString; + /** + * Arguments to use for templating the prompt. + */ + arguments: z.ZodOptional>; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The name of the prompt or prompt template. + */ + name: z.ZodString; + /** + * Arguments to use for templating the prompt. + */ + arguments: z.ZodOptional>; + }>, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + name: string; + _meta?: z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + arguments?: Record | undefined; + } & { + [k: string]: unknown; + }; + method: "prompts/get"; +}, { + params: { + name: string; + _meta?: z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + arguments?: Record | undefined; + } & { + [k: string]: unknown; + }; + method: "prompts/get"; +}>, z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + params: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. + */ + cursor: z.ZodOptional; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. + */ + cursor: z.ZodOptional; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. + */ + cursor: z.ZodOptional; + }>, z.ZodTypeAny, "passthrough">>; +}>, { + method: z.ZodLiteral<"prompts/list">; +}>, "strip", z.ZodTypeAny, { + params: { + _meta?: z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + cursor?: string | undefined; + } & { + [k: string]: unknown; + }; + method: "prompts/list"; +}, { + params: { + _meta?: z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + cursor?: string | undefined; + } & { + [k: string]: unknown; + }; + method: "prompts/list"; +}>, z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + params: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. + */ + cursor: z.ZodOptional; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. + */ + cursor: z.ZodOptional; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. + */ + cursor: z.ZodOptional; + }>, z.ZodTypeAny, "passthrough">>; +}>, { + method: z.ZodLiteral<"resources/list">; +}>, "strip", z.ZodTypeAny, { + params: { + _meta?: z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + cursor?: string | undefined; + } & { + [k: string]: unknown; + }; + method: "resources/list"; +}, { + params: { + _meta?: z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + cursor?: string | undefined; + } & { + [k: string]: unknown; + }; + method: "resources/list"; +}>, z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"resources/read">; + params: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it. + */ + uri: z.ZodString; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it. + */ + uri: z.ZodString; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it. + */ + uri: z.ZodString; + }>, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + uri: string; + _meta?: z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "resources/read"; +}, { + params: { + uri: string; + _meta?: z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "resources/read"; +}>, z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"resources/subscribe">; + params: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it. + */ + uri: z.ZodString; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it. + */ + uri: z.ZodString; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it. + */ + uri: z.ZodString; + }>, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + uri: string; + _meta?: z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "resources/subscribe"; +}, { + params: { + uri: string; + _meta?: z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "resources/subscribe"; +}>, z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"resources/unsubscribe">; + params: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The URI of the resource to unsubscribe from. + */ + uri: z.ZodString; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The URI of the resource to unsubscribe from. + */ + uri: z.ZodString; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * The URI of the resource to unsubscribe from. + */ + uri: z.ZodString; + }>, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + uri: string; + _meta?: z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "resources/unsubscribe"; +}, { + params: { + uri: string; + _meta?: z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "resources/unsubscribe"; +}>, z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"tools/call">; + params: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + name: z.ZodString; + arguments: z.ZodOptional>; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + name: z.ZodString; + arguments: z.ZodOptional>; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + name: z.ZodString; + arguments: z.ZodOptional>; + }>, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + name: string; + _meta?: z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + arguments?: Record | undefined; + } & { + [k: string]: unknown; + }; + method: "tools/call"; +}, { + params: { + name: string; + _meta?: z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + arguments?: Record | undefined; + } & { + [k: string]: unknown; + }; + method: "tools/call"; +}>, z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + params: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. + */ + cursor: z.ZodOptional; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. + */ + cursor: z.ZodOptional; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + /** + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. + */ + cursor: z.ZodOptional; + }>, z.ZodTypeAny, "passthrough">>; +}>, { + method: z.ZodLiteral<"tools/list">; +}>, "strip", z.ZodTypeAny, { + params: { + _meta?: z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + cursor?: string | undefined; + } & { + [k: string]: unknown; + }; + method: "tools/list"; +}, { + params: { + _meta?: z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + cursor?: string | undefined; + } & { + [k: string]: unknown; + }; + method: "tools/list"; +}>]>; +export declare const ClientNotificationSchema: z.ZodUnion<[z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"notifications/progress">; + params: z.ZodObject; + }, { + /** + * The progress token which was given in the initial request, used to associate this notification with the request that is proceeding. + */ + progressToken: z.ZodOptional>; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType; + }, { + /** + * The progress token which was given in the initial request, used to associate this notification with the request that is proceeding. + */ + progressToken: z.ZodOptional>; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType; + }, { + /** + * The progress token which was given in the initial request, used to associate this notification with the request that is proceeding. + */ + progressToken: z.ZodOptional>; + }>, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + progress: number; + progressToken?: string | number | undefined; + total?: number | undefined; + } & { + [k: string]: unknown; + }; + method: "notifications/progress"; +}, { + params: { + progress: number; + progressToken?: string | number | undefined; + total?: number | undefined; + } & { + [k: string]: unknown; + }; + method: "notifications/progress"; +}>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"notifications/initialized">; +}>, "strip", z.ZodTypeAny, { + method: "notifications/initialized"; + params?: z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}, { + method: "notifications/initialized"; + params?: z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}>]>; +export declare const ClientResultSchema: z.ZodUnion<[z.ZodObject<{ + /** + * This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, "strict", z.ZodTypeAny, { + _meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; +}, { + _meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; +}>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * The name of the model that generated the message. + */ + model: z.ZodString; + /** + * The reason why sampling stopped. + */ + stopReason: z.ZodEnum<["endTurn", "stopSequence", "maxTokens"]>; + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * The name of the model that generated the message. + */ + model: z.ZodString; + /** + * The reason why sampling stopped. + */ + stopReason: z.ZodEnum<["endTurn", "stopSequence", "maxTokens"]>; + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * The name of the model that generated the message. + */ + model: z.ZodString; + /** + * The reason why sampling stopped. + */ + stopReason: z.ZodEnum<["endTurn", "stopSequence", "maxTokens"]>; + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; +}>, z.ZodTypeAny, "passthrough">>]>; +export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"ping">; +}>, "strip", z.ZodTypeAny, { + method: "ping"; + params?: z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}, { + method: "ping"; + params?: z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}>, z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"sampling/createMessage">; + params: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + messages: z.ZodArray; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">>, "many">; + /** + * An optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt. + */ + systemPrompt: z.ZodOptional; + /** + * A request to include context from one or more MCP servers (including the caller), to be attached to the prompt. The client MAY ignore this request. + */ + includeContext: z.ZodOptional>; + temperature: z.ZodOptional; + /** + * The maximum number of tokens to sample, as requested by the server. The client MAY choose to sample fewer tokens than requested. + */ + maxTokens: z.ZodNumber; + stopSequences: z.ZodOptional>; + /** + * Optional metadata to pass through to the LLM provider. The format of this metadata is provider-specific. + */ + metadata: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + messages: z.ZodArray; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">>, "many">; + /** + * An optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt. + */ + systemPrompt: z.ZodOptional; + /** + * A request to include context from one or more MCP servers (including the caller), to be attached to the prompt. The client MAY ignore this request. + */ + includeContext: z.ZodOptional>; + temperature: z.ZodOptional; + /** + * The maximum number of tokens to sample, as requested by the server. The client MAY choose to sample fewer tokens than requested. + */ + maxTokens: z.ZodNumber; + stopSequences: z.ZodOptional>; + /** + * Optional metadata to pass through to the LLM provider. The format of this metadata is provider-specific. + */ + metadata: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, { + messages: z.ZodArray; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">>, "many">; + /** + * An optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt. + */ + systemPrompt: z.ZodOptional; + /** + * A request to include context from one or more MCP servers (including the caller), to be attached to the prompt. The client MAY ignore this request. + */ + includeContext: z.ZodOptional>; + temperature: z.ZodOptional; + /** + * The maximum number of tokens to sample, as requested by the server. The client MAY choose to sample fewer tokens than requested. + */ + maxTokens: z.ZodNumber; + stopSequences: z.ZodOptional>; + /** + * Optional metadata to pass through to the LLM provider. The format of this metadata is provider-specific. + */ + metadata: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }>, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + messages: z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">[]; + maxTokens: number; + _meta?: z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + systemPrompt?: string | undefined; + includeContext?: "none" | "thisServer" | "allServers" | undefined; + temperature?: number | undefined; + stopSequences?: string[] | undefined; + metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "sampling/createMessage"; +}, { + params: { + messages: z.objectInputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">[]; + maxTokens: number; + _meta?: z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough"> | undefined; + systemPrompt?: string | undefined; + includeContext?: "none" | "thisServer" | "allServers" | undefined; + temperature?: number | undefined; + stopSequences?: string[] | undefined; + metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + } & { + [k: string]: unknown; + }; + method: "sampling/createMessage"; +}>]>; +export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"notifications/progress">; + params: z.ZodObject; + }, { + /** + * The progress token which was given in the initial request, used to associate this notification with the request that is proceeding. + */ + progressToken: z.ZodOptional>; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType; + }, { + /** + * The progress token which was given in the initial request, used to associate this notification with the request that is proceeding. + */ + progressToken: z.ZodOptional>; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType; + }, { + /** + * The progress token which was given in the initial request, used to associate this notification with the request that is proceeding. + */ + progressToken: z.ZodOptional>; + }>, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + progress: number; + progressToken?: string | number | undefined; + total?: number | undefined; + } & { + [k: string]: unknown; + }; + method: "notifications/progress"; +}, { + params: { + progress: number; + progressToken?: string | number | undefined; + total?: number | undefined; + } & { + [k: string]: unknown; + }; + method: "notifications/progress"; +}>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"notifications/message">; + params: z.ZodObject<{ + /** + * The severity of this log message. + */ + level: z.ZodEnum<["debug", "info", "warning", "error"]>; + /** + * An optional name of the logger issuing this message. + */ + logger: z.ZodOptional; + /** + * The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here. + */ + data: z.ZodUnknown; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The severity of this log message. + */ + level: z.ZodEnum<["debug", "info", "warning", "error"]>; + /** + * An optional name of the logger issuing this message. + */ + logger: z.ZodOptional; + /** + * The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here. + */ + data: z.ZodUnknown; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The severity of this log message. + */ + level: z.ZodEnum<["debug", "info", "warning", "error"]>; + /** + * An optional name of the logger issuing this message. + */ + logger: z.ZodOptional; + /** + * The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here. + */ + data: z.ZodUnknown; + }, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + level: "error" | "debug" | "info" | "warning"; + data?: unknown; + logger?: string | undefined; + } & { + [k: string]: unknown; + }; + method: "notifications/message"; +}, { + params: { + level: "error" | "debug" | "info" | "warning"; + data?: unknown; + logger?: string | undefined; + } & { + [k: string]: unknown; + }; + method: "notifications/message"; +}>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"notifications/resources/updated">; + params: z.ZodObject<{ + /** + * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to. + */ + uri: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to. + */ + uri: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; +}>, "strip", z.ZodTypeAny, { + params: { + uri: string; + } & { + [k: string]: unknown; + }; + method: "notifications/resources/updated"; +}, { + params: { + uri: string; + } & { + [k: string]: unknown; + }; + method: "notifications/resources/updated"; +}>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"notifications/resources/list_changed">; +}>, "strip", z.ZodTypeAny, { + method: "notifications/resources/list_changed"; + params?: z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}, { + method: "notifications/resources/list_changed"; + params?: z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"notifications/tools/list_changed">; +}>, "strip", z.ZodTypeAny, { + method: "notifications/tools/list_changed"; + params?: z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}, { + method: "notifications/tools/list_changed"; + params?: z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"notifications/prompts/list_changed">; +}>, "strip", z.ZodTypeAny, { + method: "notifications/prompts/list_changed"; + params?: z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}, { + method: "notifications/prompts/list_changed"; + params?: z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}>]>; +export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ + /** + * This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, "strict", z.ZodTypeAny, { + _meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; +}, { + _meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; +}>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect. + */ + protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; + capabilities: z.ZodObject<{ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any resources to read. + */ + resources: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any tools to call. + */ + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any resources to read. + */ + resources: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any tools to call. + */ + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any resources to read. + */ + resources: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any tools to call. + */ + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + serverInfo: z.ZodObject<{ + name: z.ZodString; + version: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect. + */ + protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; + capabilities: z.ZodObject<{ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any resources to read. + */ + resources: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any tools to call. + */ + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any resources to read. + */ + resources: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any tools to call. + */ + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any resources to read. + */ + resources: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any tools to call. + */ + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + serverInfo: z.ZodObject<{ + name: z.ZodString; + version: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect. + */ + protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; + capabilities: z.ZodObject<{ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any resources to read. + */ + resources: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any tools to call. + */ + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any resources to read. + */ + resources: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any tools to call. + */ + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Experimental, non-standard capabilities that the server supports. + */ + experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server supports sending log messages to the client. + */ + logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any prompt templates. + */ + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any resources to read. + */ + resources: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports subscribing to resource updates. + */ + subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + /** + * Present if the server offers any tools to call. + */ + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + serverInfo: z.ZodObject<{ + name: z.ZodString; + version: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; + version: z.ZodString; + }, z.ZodTypeAny, "passthrough">>; +}>, z.ZodTypeAny, "passthrough">>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + completion: z.ZodObject<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + completion: z.ZodObject<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + completion: z.ZodObject<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * An array of completion values. Must not exceed 100 items. + */ + values: z.ZodArray; + /** + * The total number of completion options available. This can exceed the number of values actually sent in the response. + */ + total: z.ZodOptional; + /** + * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + */ + hasMore: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>; +}>, z.ZodTypeAny, "passthrough">>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An optional description for the prompt. + */ + description: z.ZodOptional; + messages: z.ZodArray; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An optional description for the prompt. + */ + description: z.ZodOptional; + messages: z.ZodArray; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough">>>; -}, { - method: z.ZodLiteral<"notifications/prompts/list_changed">; -}>, "strip", z.ZodTypeAny, { - method: "notifications/prompts/list_changed"; - params?: z.objectOutputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}, { - method: "notifications/prompts/list_changed"; - params?: z.objectInputType<{ - /** - * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}>]>; -export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ - /** - * This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses. - */ - _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, "strict", z.ZodTypeAny, { - _meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; -}, { - _meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; -}>, z.ZodObject; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { /** - * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect. + * An optional description for the prompt. */ - protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; - capabilities: z.ZodObject<{ - /** - * Experimental, non-standard capabilities that the server supports. - */ - experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - /** - * Present if the server supports sending log messages to the client. - */ - logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - /** - * Present if the server offers any prompt templates. - */ - prompts: z.ZodOptional; + messages: z.ZodArray; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; /** - * Whether this server supports notifications for changes to the prompt list. + * The text content of the message. */ - listChanged: z.ZodOptional; + text: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * Whether this server supports notifications for changes to the prompt list. + * The text content of the message. */ - listChanged: z.ZodOptional; + text: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * Whether this server supports notifications for changes to the prompt list. + * The text content of the message. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough">>>; - /** - * Present if the server offers any resources to read. - */ - resources: z.ZodOptional>, z.ZodObject<{ + type: z.ZodLiteral<"image">; /** - * Whether this server supports subscribing to resource updates. + * The base64-encoded image data. */ - subscribe: z.ZodOptional; + data: z.ZodString; /** - * Whether this server supports notifications for changes to the resource list. + * The MIME type of the image. Different providers may support different image types. */ - listChanged: z.ZodOptional; + mimeType: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; /** - * Whether this server supports subscribing to resource updates. + * The base64-encoded image data. */ - subscribe: z.ZodOptional; + data: z.ZodString; /** - * Whether this server supports notifications for changes to the resource list. + * The MIME type of the image. Different providers may support different image types. */ - listChanged: z.ZodOptional; + mimeType: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; /** - * Whether this server supports subscribing to resource updates. + * The base64-encoded image data. */ - subscribe: z.ZodOptional; + data: z.ZodString; /** - * Whether this server supports notifications for changes to the resource list. + * The MIME type of the image. Different providers may support different image types. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough">>>; - /** - * Present if the server offers any tools to call. - */ - tools: z.ZodOptional>]>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; /** - * Whether this server supports notifications for changes to the tool list. + * The text content of the message. */ - listChanged: z.ZodOptional; + text: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * Whether this server supports notifications for changes to the tool list. + * The text content of the message. */ - listChanged: z.ZodOptional; + text: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * Whether this server supports notifications for changes to the tool list. + * The text content of the message. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - logging?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectOutputType<{ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; + /** + * The base64-encoded image data. + */ + data: z.ZodString; + /** + * The MIME type of the image. Different providers may support different image types. + */ + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">>]>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + role: z.ZodEnum<["user", "assistant"]>; + content: z.ZodUnion<[z.ZodObject<{ + type: z.ZodLiteral<"text">; + /** + * The text content of the message. + */ + text: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"text">; /** - * Whether this server supports notifications for changes to the prompt list. + * The text content of the message. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - resources?: z.objectOutputType<{ + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"text">; /** - * Whether this server supports subscribing to resource updates. + * The text content of the message. */ - subscribe: z.ZodOptional; + text: z.ZodString; + }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ + type: z.ZodLiteral<"image">; /** - * Whether this server supports notifications for changes to the resource list. + * The base64-encoded image data. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectOutputType<{ + data: z.ZodString; /** - * Whether this server supports notifications for changes to the tool list. + * The MIME type of the image. Different providers may support different image types. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - }, { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - logging?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectInputType<{ + mimeType: z.ZodString; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"image">; /** - * Whether this server supports notifications for changes to the prompt list. + * The base64-encoded image data. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - resources?: z.objectInputType<{ + data: z.ZodString; /** - * Whether this server supports subscribing to resource updates. + * The MIME type of the image. Different providers may support different image types. */ - subscribe: z.ZodOptional; + mimeType: z.ZodString; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"image">; /** - * Whether this server supports notifications for changes to the resource list. + * The base64-encoded image data. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectInputType<{ + data: z.ZodString; /** - * Whether this server supports notifications for changes to the tool list. + * The MIME type of the image. Different providers may support different image types. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - }>; - serverInfo: z.ZodObject<{ - name: z.ZodString; - version: z.ZodString; - }, "strip", z.ZodTypeAny, { - name: string; - version: string; - }, { - name: string; - version: string; - }>; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType>]>; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, z.ZodTypeAny, "passthrough">>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { /** - * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect. + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. */ - protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; - capabilities: z.ZodObject<{ + nextCursor: z.ZodOptional; +}>, { + prompts: z.ZodArray, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + name: z.ZodString; /** - * Present if the server supports sending log messages to the client. + * An optional description of what this prompt provides */ - logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + description: z.ZodOptional; /** - * Present if the server offers any prompt templates. + * A list of arguments to use for templating the prompt. */ - prompts: z.ZodOptional; + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * Whether this server supports notifications for changes to the prompt list. + * The name of the argument. */ - listChanged: z.ZodOptional; + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * Whether this server supports notifications for changes to the prompt list. + * The name of the argument. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough">>>; + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * Present if the server offers any resources to read. + * The name of the prompt or prompt template. */ - resources: z.ZodOptional; + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.ZodOptional; + name: z.ZodString; /** - * Whether this server supports notifications for changes to the resource list. + * A human-readable description of the argument. */ - listChanged: z.ZodOptional; + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * Whether this server supports subscribing to resource updates. + * The name of the argument. */ - subscribe: z.ZodOptional; + name: z.ZodString; /** - * Whether this server supports notifications for changes to the resource list. + * A human-readable description of the argument. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + description: z.ZodOptional; /** - * Whether this server supports subscribing to resource updates. + * Whether this argument must be provided. */ - subscribe: z.ZodOptional; + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * Whether this server supports notifications for changes to the resource list. + * The name of the argument. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough">>>; - /** - * Present if the server offers any tools to call. - */ - tools: z.ZodOptional; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + description: z.ZodOptional; /** - * Whether this server supports notifications for changes to the tool list. + * Whether this argument must be provided. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the prompt or prompt template. + */ + name: z.ZodString; + /** + * An optional description of what this prompt provides + */ + description: z.ZodOptional; + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.ZodOptional; - }, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - logging?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectOutputType<{ + name: z.ZodString; /** - * Whether this server supports notifications for changes to the prompt list. + * A human-readable description of the argument. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - resources?: z.objectOutputType<{ + description: z.ZodOptional; /** - * Whether this server supports subscribing to resource updates. + * Whether this argument must be provided. */ - subscribe: z.ZodOptional; + required: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * Whether this server supports notifications for changes to the resource list. + * The name of the argument. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectOutputType<{ + name: z.ZodString; /** - * Whether this server supports notifications for changes to the tool list. + * A human-readable description of the argument. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - }, { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - logging?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectInputType<{ + description: z.ZodOptional; /** - * Whether this server supports notifications for changes to the prompt list. + * Whether this argument must be provided. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - resources?: z.objectInputType<{ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * Whether this server supports subscribing to resource updates. + * The name of the argument. */ - subscribe: z.ZodOptional; + name: z.ZodString; /** - * Whether this server supports notifications for changes to the resource list. + * A human-readable description of the argument. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectInputType<{ + description: z.ZodOptional; /** - * Whether this server supports notifications for changes to the tool list. + * Whether this argument must be provided. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - }>; - serverInfo: z.ZodObject<{ - name: z.ZodString; - version: z.ZodString; - }, "strip", z.ZodTypeAny, { - name: string; - version: string; - }, { - name: string; - version: string; - }>; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { /** - * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect. + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. */ - protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; - capabilities: z.ZodObject<{ + nextCursor: z.ZodOptional; +}>, { + prompts: z.ZodArray, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + name: z.ZodString; /** - * Present if the server supports sending log messages to the client. + * An optional description of what this prompt provides */ - logging: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + description: z.ZodOptional; /** - * Present if the server offers any prompt templates. + * A list of arguments to use for templating the prompt. */ - prompts: z.ZodOptional; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + name: z.ZodString; /** - * Whether this server supports notifications for changes to the prompt list. + * A human-readable description of the argument. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + description: z.ZodOptional; /** - * Whether this server supports notifications for changes to the prompt list. + * Whether this argument must be provided. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough">>>; - /** - * Present if the server offers any resources to read. - */ - resources: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * Whether this server supports subscribing to resource updates. + * The name of the argument. */ - subscribe: z.ZodOptional; + name: z.ZodString; /** - * Whether this server supports notifications for changes to the resource list. + * A human-readable description of the argument. */ - listChanged: z.ZodOptional; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + description: z.ZodOptional; /** - * Whether this server supports subscribing to resource updates. + * Whether this argument must be provided. */ - subscribe: z.ZodOptional; + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * Whether this server supports notifications for changes to the resource list. + * The name of the argument. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; /** - * Whether this server supports subscribing to resource updates. + * A human-readable description of the argument. */ - subscribe: z.ZodOptional; + description: z.ZodOptional; /** - * Whether this server supports notifications for changes to the resource list. + * Whether this argument must be provided. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough">>>; + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * Present if the server offers any tools to call. + * The name of the prompt or prompt template. */ - tools: z.ZodOptional; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * Whether this server supports notifications for changes to the tool list. - */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + name: z.ZodString; + /** + * An optional description of what this prompt provides + */ + description: z.ZodOptional; + /** + * A list of arguments to use for templating the prompt. + */ + arguments: z.ZodOptional; - }, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - logging?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectOutputType<{ + name: z.ZodString; /** - * Whether this server supports notifications for changes to the prompt list. + * A human-readable description of the argument. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - resources?: z.objectOutputType<{ + description: z.ZodOptional; /** - * Whether this server supports subscribing to resource updates. + * Whether this argument must be provided. */ - subscribe: z.ZodOptional; + required: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * Whether this server supports notifications for changes to the resource list. + * The name of the argument. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectOutputType<{ + name: z.ZodString; /** - * Whether this server supports notifications for changes to the tool list. + * A human-readable description of the argument. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - }, { - experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - logging?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectInputType<{ + description: z.ZodOptional; /** - * Whether this server supports notifications for changes to the prompt list. + * Whether this argument must be provided. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - resources?: z.objectInputType<{ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * Whether this server supports subscribing to resource updates. + * The name of the argument. */ - subscribe: z.ZodOptional; + name: z.ZodString; /** - * Whether this server supports notifications for changes to the resource list. + * A human-readable description of the argument. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectInputType<{ + description: z.ZodOptional; /** - * Whether this server supports notifications for changes to the tool list. + * Whether this argument must be provided. */ - listChanged: z.ZodOptional; - }, z.ZodTypeAny, "passthrough"> | undefined; - }>; - serverInfo: z.ZodObject<{ - name: z.ZodString; - version: z.ZodString; - }, "strip", z.ZodTypeAny, { - name: string; - version: string; - }, { - name: string; - version: string; - }>; -}>, z.ZodTypeAny, "passthrough">>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - completion: z.ZodObject<{ - /** - * An array of completion values. Must not exceed 100 items. - */ - values: z.ZodArray; - /** - * The total number of completion options available. This can exceed the number of values actually sent in the response. - */ - total: z.ZodOptional; - /** - * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. - */ - hasMore: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - values: string[]; - total?: number | undefined; - hasMore?: boolean | undefined; - }, { - values: string[]; - total?: number | undefined; - hasMore?: boolean | undefined; - }>; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - completion: z.ZodObject<{ - /** - * An array of completion values. Must not exceed 100 items. - */ - values: z.ZodArray; - /** - * The total number of completion options available. This can exceed the number of values actually sent in the response. - */ - total: z.ZodOptional; - /** - * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. - */ - hasMore: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - values: string[]; - total?: number | undefined; - hasMore?: boolean | undefined; - }, { - values: string[]; - total?: number | undefined; - hasMore?: boolean | undefined; - }>; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - completion: z.ZodObject<{ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * An array of completion values. Must not exceed 100 items. + * The name of the prompt or prompt template. */ - values: z.ZodArray; + name: z.ZodString; /** - * The total number of completion options available. This can exceed the number of values actually sent in the response. + * An optional description of what this prompt provides */ - total: z.ZodOptional; + description: z.ZodOptional; /** - * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. + * A list of arguments to use for templating the prompt. */ - hasMore: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - values: string[]; - total?: number | undefined; - hasMore?: boolean | undefined; - }, { - values: string[]; - total?: number | undefined; - hasMore?: boolean | undefined; - }>; -}>, z.ZodTypeAny, "passthrough">>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An optional description for the prompt. - */ - description: z.ZodOptional; - messages: z.ZodArray; - content: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"text">; - /** - * The text content of the message. - */ - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "text"; - text: string; - }, { - type: "text"; - text: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"image">; + arguments: z.ZodOptional]>; - }, "strip", z.ZodTypeAny, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }>, "many">; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An optional description for the prompt. - */ - description: z.ZodOptional; - messages: z.ZodArray; - content: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"text">; + * A human-readable description of the argument. + */ + description: z.ZodOptional; /** - * The text content of the message. + * Whether this argument must be provided. */ - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "text"; - text: string; - }, { - type: "text"; - text: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"image">; + required: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** - * The base64-encoded image data. + * The name of the argument. */ - data: z.ZodString; + name: z.ZodString; /** - * The MIME type of the image. Different providers may support different image types. + * A human-readable description of the argument. */ - mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; - }, "strip", z.ZodTypeAny, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }>, "many">; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An optional description for the prompt. - */ - description: z.ZodOptional; - messages: z.ZodArray; - content: z.ZodUnion<[z.ZodObject<{ - type: z.ZodLiteral<"text">; + description: z.ZodOptional; /** - * The text content of the message. + * Whether this argument must be provided. */ - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "text"; - text: string; - }, { - type: "text"; - text: string; - }>, z.ZodObject<{ - type: z.ZodLiteral<"image">; + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** - * The base64-encoded image data. + * The name of the argument. */ - data: z.ZodString; + name: z.ZodString; /** - * The MIME type of the image. Different providers may support different image types. + * A human-readable description of the argument. */ - mimeType: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "image"; - data: string; - mimeType: string; - }, { - type: "image"; - data: string; - mimeType: string; - }>]>; - }, "strip", z.ZodTypeAny, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }, { - role: "user" | "assistant"; - content: { - type: "text"; - text: string; - } | { - type: "image"; - data: string; - mimeType: string; - }; - }>, "many">; -}>, z.ZodTypeAny, "passthrough">>, z.ZodObject; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType; - }, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }, { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }>, "many">>; - }, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - arguments?: { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }[] | undefined; - }, { - name: string; - description?: string | undefined; - arguments?: { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }[] | undefined; - }>, "many">; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. - */ - nextCursor: z.ZodOptional; -}>, { - prompts: z.ZodArray; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument. + */ + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** * The name of the prompt or prompt template. */ @@ -9776,45 +13969,34 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ * Whether this argument must be provided. */ required: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }, { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }>, "many">>; - }, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - arguments?: { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }[] | undefined; - }, { - name: string; - description?: string | undefined; - arguments?: { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }[] | undefined; - }>, "many">; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. - */ - nextCursor: z.ZodOptional; -}>, { - prompts: z.ZodArray; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument. + */ + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** * The name of the prompt or prompt template. */ @@ -9839,32 +14021,34 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ * Whether this argument must be provided. */ required: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }, { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }>, "many">>; - }, "strip", z.ZodTypeAny, { - name: string; - description?: string | undefined; - arguments?: { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }[] | undefined; - }, { - name: string; - description?: string | undefined; - arguments?: { - name: string; - description?: string | undefined; - required?: boolean | undefined; - }[] | undefined; - }>, "many">; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the argument. + */ + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the argument. + */ + name: z.ZodString; + /** + * A human-readable description of the argument. + */ + description: z.ZodOptional; + /** + * Whether this argument must be provided. + */ + required: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">>; + }, z.ZodTypeAny, "passthrough">>, "many">; }>, z.ZodTypeAny, "passthrough">>, z.ZodObject; - }, "strip", z.ZodTypeAny, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; - }, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + resources: z.ZodArray; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType; + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The URI of this resource. + */ + uri: z.ZodString; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>, "many">; +}>, z.ZodTypeAny, "passthrough">>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + contents: z.ZodArray; + }, { + /** + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + */ + text: z.ZodString; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType; + }, { + /** + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + */ + text: z.ZodString; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType; + }, { + /** + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + */ + text: z.ZodString; + }>, z.ZodTypeAny, "passthrough">>, z.ZodObject; + }, { + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType; + }, { + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType; + }, { + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; + }>, z.ZodTypeAny, "passthrough">>]>, "many">; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + contents: z.ZodArray; + }, { + /** + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + */ + text: z.ZodString; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType; + }, { + /** + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + */ + text: z.ZodString; + }>, z.ZodTypeAny, "passthrough">, z.objectInputType; + }, { + /** + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + */ + text: z.ZodString; + }>, z.ZodTypeAny, "passthrough">>, z.ZodObject; + }, { + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; + }>, "passthrough", z.ZodTypeAny, z.objectOutputType; - }, "strip", z.ZodTypeAny, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; }, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - /** - * An opaque token representing the pagination position after the last returned result. - * If present, there may be more results available. - */ - nextCursor: z.ZodOptional; -}>, { - resources: z.ZodArray, z.ZodTypeAny, "passthrough">, z.objectInputType; + uri: z.ZodString; /** * The MIME type of this resource, if known. */ mimeType: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; }, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">; -}>, z.ZodTypeAny, "passthrough">>, z.ZodObject, z.ZodTypeAny, "passthrough">>]>, "many">; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, "strip", z.ZodTypeAny, { - text: string; - uri: string; - mimeType?: string | undefined; - }, { - text: string; - uri: string; - mimeType?: string | undefined; - }>, z.ZodObject, "passthrough", z.ZodTypeAny, z.objectOutputType; }, { /** - * A base64-encoded string representing the binary data of the item. + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). */ - blob: z.ZodString; - }>, "strip", z.ZodTypeAny, { - uri: string; - blob: string; - mimeType?: string | undefined; - }, { - uri: string; - blob: string; - mimeType?: string | undefined; - }>]>, "many">; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - contents: z.ZodArray, z.ZodTypeAny, "passthrough">, z.objectInputType, "strip", z.ZodTypeAny, { - text: string; - uri: string; - mimeType?: string | undefined; - }, { - text: string; - uri: string; - mimeType?: string | undefined; - }>, z.ZodObject, z.ZodTypeAny, "passthrough">>, z.ZodObject, "strip", z.ZodTypeAny, { - uri: string; - blob: string; - mimeType?: string | undefined; - }, { - uri: string; - blob: string; - mimeType?: string | undefined; - }>]>, "many">; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; -}, { - contents: z.ZodArray, "passthrough", z.ZodTypeAny, z.objectOutputType; }, { /** - * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + * A base64-encoded string representing the binary data of the item. */ - text: z.ZodString; - }>, "strip", z.ZodTypeAny, { - text: string; - uri: string; - mimeType?: string | undefined; - }, { - text: string; - uri: string; - mimeType?: string | undefined; - }>, z.ZodObject, z.ZodTypeAny, "passthrough">, z.objectInputType, "strip", z.ZodTypeAny, { - uri: string; - blob: string; - mimeType?: string | undefined; - }, { - uri: string; - blob: string; - mimeType?: string | undefined; - }>]>, "many">; + }>, z.ZodTypeAny, "passthrough">>]>, "many">; }>, z.ZodTypeAny, "passthrough">>, z.ZodObject; properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - type: "object"; - properties?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: "object"; - properties?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>; - }, "strip", z.ZodTypeAny, { - name: string; - inputSchema: { - type: "object"; - properties?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - description?: string | undefined; - }, { - name: string; - inputSchema: { - type: "object"; - properties?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - description?: string | undefined; - }>, "many">; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the tool. + */ + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the tool. + */ + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, z.ZodTypeAny, "passthrough">>, "many">; }>, "passthrough", z.ZodTypeAny, z.objectOutputType; properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - type: "object"; - properties?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: "object"; - properties?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>; - }, "strip", z.ZodTypeAny, { - name: string; - inputSchema: { - type: "object"; - properties?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - description?: string | undefined; - }, { - name: string; - inputSchema: { - type: "object"; - properties?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - description?: string | undefined; - }>, "many">; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the tool. + */ + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the tool. + */ + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, z.ZodTypeAny, "passthrough">>, "many">; }>, z.ZodTypeAny, "passthrough">, z.objectInputType; properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; - }, "strip", z.ZodTypeAny, { - type: "object"; - properties?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: "object"; - properties?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>; - }, "strip", z.ZodTypeAny, { - name: string; - inputSchema: { - type: "object"; - properties?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - description?: string | undefined; - }, { - name: string; - inputSchema: { - type: "object"; - properties?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }; - description?: string | undefined; - }>, "many">; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * The name of the tool. + */ + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * The name of the tool. + */ + name: z.ZodString; + /** + * A human-readable description of the tool. + */ + description: z.ZodOptional; + /** + * A JSON Schema object defining the expected parameters for the tool. + */ + inputSchema: z.ZodObject<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + type: z.ZodLiteral<"object">; + properties: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>; + }, z.ZodTypeAny, "passthrough">>, "many">; }>, z.ZodTypeAny, "passthrough">>]>; export declare class McpError extends Error { readonly code: number; diff --git a/dist/types.d.ts.map b/dist/types.d.ts.map index 5624bb3..e931e23 100644 --- a/dist/types.d.ts.map +++ b/dist/types.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB,eAAe,CAAC;AAG7C,eAAO,MAAM,eAAe,QAAQ,CAAC;AAErC;;GAEG;AACH,eAAO,MAAM,mBAAmB,wCAA0C,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,YAAY,aAAa,CAAC;AAiBvC,eAAO,MAAM,aAAa;;;;YAVhB;;eAEG;;;YAFH;;eAEG;;;YAFH;;eAEG;;;;;YAFH;;eAEG;;;YAFH;;eAEG;;;YAFH;;eAEG;;;;;YAFH;;eAEG;;;YAFH;;eAEG;;;YAFH;;eAEG;;;;;;;;YAFH;;eAEG;;;YAFH;;eAEG;;;YAFH;;eAEG;;;;;;;;YAFH;;eAEG;;;YAFH;;eAEG;;;YAFH;;eAEG;;;;EAWX,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;QAKvB;;WAEG;;;QAFH;;WAEG;;;QAFH;;WAEG;;;;;;QAFH;;WAEG;;;;;;QAFH;;WAEG;;;EAKT,CAAC;AAEH,eAAO,MAAM,YAAY;IAErB;;OAEG;;;IAFH;;OAEG;;;IAFH;;OAEG;;gCAGS,CAAC;AAEjB;;GAEG;AACH,eAAO,MAAM,eAAe,wCAA0C,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;YA9CvB;;eAEG;;;YAFH;;eAEG;;;YAFH;;eAEG;;;;;YAFH;;eAEG;;;YAFH;;eAEG;;;YAFH;;eAEG;;;;;YAFH;;eAEG;;;YAFH;;eAEG;;;YAFH;;eAEG;;;;;;;;;;YAFH;;eAEG;;;YAFH;;eAEG;;;YAFH;;eAE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,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAGlE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAG9D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"} \ No newline at end of file diff --git a/dist/types.js b/dist/types.js index 6c85a81..8cab864 100644 --- a/dist/types.js +++ b/dist/types.js @@ -130,17 +130,20 @@ export const EmptyResultSchema = ResultSchema.strict(); /** * Text provided to or from an LLM. */ -export const TextContentSchema = z.object({ +export const TextContentSchema = z + .object({ type: z.literal("text"), /** * The text content of the message. */ text: z.string(), -}); +}) + .passthrough(); /** * An image provided to or from an LLM. */ -export const ImageContentSchema = z.object({ +export const ImageContentSchema = z + .object({ type: z.literal("image"), /** * The base64-encoded image data. @@ -150,25 +153,31 @@ export const ImageContentSchema = z.object({ * The MIME type of the image. Different providers may support different image types. */ mimeType: z.string(), -}); +}) + .passthrough(); /** * Describes a message issued to or received from an LLM API. */ -export const SamplingMessageSchema = z.object({ +export const SamplingMessageSchema = z + .object({ role: z.enum(["user", "assistant"]), content: z.union([TextContentSchema, ImageContentSchema]), -}); +}) + .passthrough(); /** * Describes the name and version of an MCP implementation. */ -export const ImplementationSchema = z.object({ +export const ImplementationSchema = z + .object({ name: z.string(), version: z.string(), -}); +}) + .passthrough(); /** * Capabilities a client may support. Known capabilities are defined here, in this schema, but this is not a closed set: any client can define its own, additional capabilities. */ -export const ClientCapabilitiesSchema = z.object({ +export const ClientCapabilitiesSchema = z + .object({ /** * Experimental, non-standard capabilities that the client supports. */ @@ -177,7 +186,8 @@ export const ClientCapabilitiesSchema = z.object({ * Present if the client supports sampling from an LLM. */ sampling: z.optional(z.object({}).passthrough()), -}); +}) + .passthrough(); /** * This request is sent from the client to the server when it first connects, asking it to begin initialization. */ @@ -195,7 +205,8 @@ export const InitializeRequestSchema = RequestSchema.extend({ /** * 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. */ -export const ServerCapabilitiesSchema = z.object({ +export const ServerCapabilitiesSchema = z + .object({ /** * Experimental, non-standard capabilities that the server supports. */ @@ -241,7 +252,8 @@ export const ServerCapabilitiesSchema = z.object({ listChanged: z.optional(z.boolean()), }) .passthrough()), -}); +}) + .passthrough(); /** * After receiving an initialize request from the client, the server sends this response. */ @@ -267,7 +279,8 @@ export const PingRequestSchema = RequestSchema.extend({ method: z.literal("ping"), }); /* Progress notifications */ -export const ProgressSchema = z.object({ +export const ProgressSchema = z + .object({ /** * The progress thus far. This should increase every time progress is made, even if the total is unknown. */ @@ -276,7 +289,8 @@ export const ProgressSchema = z.object({ * Total number of items to process (or total progress required), if known. */ total: z.optional(z.number()), -}); +}) + .passthrough(); /** * An out-of-band notification used to inform the receiver of a progress update for a long-running request. */ @@ -310,7 +324,8 @@ export const PaginatedResultSchema = ResultSchema.extend({ /** * The contents of a specific resource or sub-resource. */ -export const ResourceContentsSchema = z.object({ +export const ResourceContentsSchema = z + .object({ /** * The URI of this resource. */ @@ -319,7 +334,8 @@ export const ResourceContentsSchema = z.object({ * The MIME type of this resource, if known. */ mimeType: z.optional(z.string()), -}); +}) + .passthrough(); export const TextResourceContentsSchema = ResourceContentsSchema.extend({ /** * The text of the item. This must only be set if the item can actually be represented as text (not binary data). @@ -335,7 +351,8 @@ export const BlobResourceContentsSchema = ResourceContentsSchema.extend({ /** * A known resource that the server is capable of reading. */ -export const ResourceSchema = z.object({ +export const ResourceSchema = z + .object({ /** * The URI of this resource. */ @@ -356,11 +373,13 @@ export const ResourceSchema = z.object({ * The MIME type of this resource, if known. */ mimeType: z.optional(z.string()), -}); +}) + .passthrough(); /** * A template description for resources available on the server. */ -export const ResourceTemplateSchema = z.object({ +export const ResourceTemplateSchema = z + .object({ /** * A URI template (according to RFC 6570) that can be used to construct resource URIs. */ @@ -381,7 +400,8 @@ export const ResourceTemplateSchema = z.object({ * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. */ mimeType: z.optional(z.string()), -}); +}) + .passthrough(); /** * Sent from the client to request a list of resources the server has. */ @@ -459,18 +479,21 @@ export const UnsubscribeRequestSchema = RequestSchema.extend({ */ export const ResourceUpdatedNotificationSchema = NotificationSchema.extend({ method: z.literal("notifications/resources/updated"), - params: z.object({ + params: z + .object({ /** * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to. */ uri: z.string(), - }), + }) + .passthrough(), }); /* Prompts */ /** * Describes an argument that a prompt can accept. */ -export const PromptArgumentSchema = z.object({ +export const PromptArgumentSchema = z + .object({ /** * The name of the argument. */ @@ -483,11 +506,13 @@ export const PromptArgumentSchema = z.object({ * Whether this argument must be provided. */ required: z.optional(z.boolean()), -}); +}) + .passthrough(); /** * A prompt or prompt template that the server offers. */ -export const PromptSchema = z.object({ +export const PromptSchema = z + .object({ /** * The name of the prompt or prompt template. */ @@ -500,7 +525,8 @@ export const PromptSchema = z.object({ * A list of arguments to use for templating the prompt. */ arguments: z.optional(z.array(PromptArgumentSchema)), -}); +}) + .passthrough(); /** * Sent from the client to request a list of prompts and prompt templates the server has. */ @@ -549,7 +575,8 @@ export const PromptListChangedNotificationSchema = NotificationSchema.extend({ /** * Definition for a tool the client can call. */ -export const ToolSchema = z.object({ +export const ToolSchema = z + .object({ /** * The name of the tool. */ @@ -561,11 +588,14 @@ export const ToolSchema = z.object({ /** * A JSON Schema object defining the expected parameters for the tool. */ - inputSchema: z.object({ + inputSchema: z + .object({ type: z.literal("object"), properties: z.optional(z.object({}).passthrough()), - }), -}); + }) + .passthrough(), +}) + .passthrough(); /** * Sent from the client to request a list of tools the server has. */ @@ -622,7 +652,8 @@ export const SetLevelRequestSchema = RequestSchema.extend({ */ export const LoggingMessageNotificationSchema = NotificationSchema.extend({ method: z.literal("notifications/message"), - params: z.object({ + params: z + .object({ /** * The severity of this log message. */ @@ -635,7 +666,8 @@ export const LoggingMessageNotificationSchema = NotificationSchema.extend({ * The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here. */ data: z.unknown(), - }), + }) + .passthrough(), }); /* Sampling */ /** @@ -687,23 +719,27 @@ export const CreateMessageResultSchema = ResultSchema.extend({ /** * A reference to a resource or resource template definition. */ -export const ResourceReferenceSchema = z.object({ +export const ResourceReferenceSchema = z + .object({ type: z.literal("ref/resource"), /** * The URI or URI template of the resource. */ uri: z.string(), -}); +}) + .passthrough(); /** * Identifies a prompt. */ -export const PromptReferenceSchema = z.object({ +export const PromptReferenceSchema = z + .object({ type: z.literal("ref/prompt"), /** * The name of the prompt or prompt template */ name: z.string(), -}); +}) + .passthrough(); /** * A request from the client to the server, to ask for completion options. */ @@ -714,7 +750,8 @@ export const CompleteRequestSchema = RequestSchema.extend({ /** * The argument's information */ - argument: z.object({ + argument: z + .object({ /** * The name of the argument */ @@ -723,14 +760,16 @@ export const CompleteRequestSchema = RequestSchema.extend({ * The value of the argument to use for completion matching. */ value: z.string(), - }), + }) + .passthrough(), }), }); /** * The server's response to a completion/complete request */ export const CompleteResultSchema = ResultSchema.extend({ - completion: z.object({ + completion: z + .object({ /** * An array of completion values. Must not exceed 100 items. */ @@ -743,7 +782,8 @@ export const CompleteResultSchema = ResultSchema.extend({ * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown. */ hasMore: z.optional(z.boolean()), - }), + }) + .passthrough(), }); /* Client messages */ export const ClientRequestSchema = z.union([ diff --git a/dist/types.js.map b/dist/types.js.map index b443c6f..fba639b 100644 --- a/dist/types.js.map +++ b/dist/types.js.map @@ -1 +1 @@ -{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAE7C,oBAAoB;AACpB,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC;AAErC;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;AAE3E;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAEvC,MAAM,uBAAuB,GAAG,CAAC;KAC9B,MAAM,CAAC;IACN,KAAK,EAAE,CAAC,CAAC,QAAQ,CACf,CAAC;SACE,MAAM,CAAC;QACN;;WAEG;QACH,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,mBAAmB,CAAC;KAC/C,CAAC;SACD,WAAW,EAAE,CACjB;CACF,CAAC;KACD,WAAW,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC;CAC5C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAChB,CAAC;SACE,MAAM,CAAC;QACN;;WAEG;QACH,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAA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AC;IACzC,iBAAiB;IACjB,uBAAuB;IACvB,qBAAqB;IACrB,qBAAqB;IACrB,sBAAsB;IACtB,wBAAwB;IACxB,0BAA0B;IAC1B,yBAAyB;IACzB,sBAAsB;IACtB,wBAAwB;IACxB,qBAAqB;IACrB,sBAAsB;CACvB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC;IAC9C,0BAA0B;IAC1B,6BAA6B;CAC9B,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC;IACxC,iBAAiB;IACjB,yBAAyB;CAC1B,CAAC,CAAC;AAEH,qBAAqB;AACrB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC;IACzC,iBAAiB;IACjB,0BAA0B;CAC3B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC;IAC9C,0BAA0B;IAC1B,gCAAgC;IAChC,iCAAiC;IACjC,qCAAqC;IACrC,iCAAiC;IACjC,mCAAmC;CACpC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC;IACxC,iBAAiB;IACjB,sBAAsB;IACtB,oBAAoB;IACpB,qBAAqB;IACrB,uBAAuB;IACvB,yBAAyB;IACzB,wBAAwB;IACxB,oBAAoB;IACpB,qBAAqB;CACtB,CAAC,CAAC;AAEH,MAAM,OAAO,QAAS,SAAQ,KAAK;IACjC,YACkB,IAAY,EAC5B,OAAe,EACC,IAAc;QAE9B,KAAK,CAAC,aAAa,IAAI,KAAK,OAAO,EAAE,CAAC,CAAC;QAJvB,SAAI,GAAJ,IAAI,CAAQ;QAEZ,SAAI,GAAJ,IAAI,CAAU;IAGhC,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,E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AO,EAAE,CAAC,CAAC;QAJvB,SAAI,GAAJ,IAAI,CAAQ;QAEZ,SAAI,GAAJ,IAAI,CAAU;IAGhC,CAAC;CACF"} \ No newline at end of file From 4cf8dd316e139e13d44c05880bae5dcd7dc27f52 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 21 Oct 2024 12:40:29 +0100 Subject: [PATCH 4/4] Lint --- dist/server/index.d.ts.map | 2 +- dist/server/index.js.map | 2 +- src/server/index.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dist/server/index.d.ts.map b/dist/server/index.d.ts.map index 5be72c8..9cc25dd 100644 --- a/dist/server/index.d.ts.map +++ b/dist/server/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EACL,kBAAkB,EAElB,cAAc,EAMd,kBAAkB,EAClB,aAAa,EACb,YAAY,EAMb,MAAM,aAAa,CAAC;AAErB;;;;GAIG;AACH,qBAAa,MAAO,SAAQ,QAAQ,CAClC,aAAa,EACb,kBAAkB,EAClB,YAAY,CACb;IAYa,OAAO,CAAC,WAAW;IAX/B,OAAO,CAAC,mBAAmB,CAAC,CAAqB;IACjD,OAAO,CAAC,cAAc,CAAC,CAAiB;IAExC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAE3B;;OAEG;gBACiB,WAAW,EAAE,cAAc;YAWjC,aAAa;IAmB3B;;OAEG;IACH,qBAAqB,IAAI,kBAAkB,GAAG,SAAS;IAIvD;;OAEG;IACH,gBAAgB,IAAI,cAAc,GAAG,SAAS;IAI9C,OAAO,CAAC,eAAe;CAwBxB"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EACL,kBAAkB,EAClB,cAAc,EAMd,kBAAkB,EAClB,aAAa,EACb,YAAY,EAMb,MAAM,aAAa,CAAC;AAErB;;;;GAIG;AACH,qBAAa,MAAO,SAAQ,QAAQ,CAClC,aAAa,EACb,kBAAkB,EAClB,YAAY,CACb;IAYa,OAAO,CAAC,WAAW;IAX/B,OAAO,CAAC,mBAAmB,CAAC,CAAqB;IACjD,OAAO,CAAC,cAAc,CAAC,CAAiB;IAExC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAE3B;;OAEG;gBACiB,WAAW,EAAE,cAAc;YAWjC,aAAa;IAmB3B;;OAEG;IACH,qBAAqB,IAAI,kBAAkB,GAAG,SAAS;IAIvD;;OAEG;IACH,gBAAgB,IAAI,cAAc,GAAG,SAAS;IAI9C,OAAO,CAAC,eAAe;CAwBxB"} \ No newline at end of file diff --git a/dist/server/index.js.map b/dist/server/index.js.map index 07ce5da..e7fac8c 100644 --- a/dist/server/index.js.map +++ b/dist/server/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAIL,6BAA6B,EAE7B,uBAAuB,EAEvB,gBAAgB,EAKhB,0BAA0B,EAC1B,sBAAsB,EACtB,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AAErB;;;;GAIG;AACH,MAAM,OAAO,MAAO,SAAQ,QAI3B;IASC;;OAEG;IACH,YAAoB,WAA2B;QAC7C,KAAK,EAAE,CAAC;QADU,gBAAW,GAAX,WAAW,CAAgB;QAG7C,IAAI,CAAC,iBAAiB,CAAC,uBAAuB,EAAE,CAAC,OAAO,EAAE,EAAE,CAC1D,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAC5B,CAAC;QACF,IAAI,CAAC,sBAAsB,CAAC,6BAA6B,EAAE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E,IAAI,CAAC,eAAe,EAAE;YACpC,UAAU,EAAE,IAAI,CAAC,WAAW;SAC7B,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,qBAAqB;QACnB,OAAO,IAAI,CAAC,mBAAmB,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,gBAAgB;QACd,OAAO,IAAI,CAAC,cAAc,CAAC;IAC7B,CAAC;IAEO,eAAe;QACrB,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAChC,wBAAwB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAe,CACtD;gBACC,CAAC,CAAC,EAAE;gBACJ,CAAC,CAAC,SAAS;YACb,SAAS,EAAE,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAClC,0BAA0B,CAAC,KAAK,CAAC,MAAM,CAAC,KAAe,CACxD;gBACC,CAAC,CAAC,EAAE;gBACJ,CAAC,CAAC,SAAS;YACb,KAAK,EAAE,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAC9B,sBAAsB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAe,CACpD;gBACC,CAAC,CAAC,EAAE;gBACJ,CAAC,CAAC,SAAS;YACb,OAAO,EAAE,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAChC,qBAAqB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAe,CACnD;gBACC,CAAC,CAAC,EAAE;gBACJ,CAAC,CAAC,SAAS;SACd,CAAC;IACJ,CAAC;CACF"} \ No newline at end of file diff --git a/src/server/index.ts b/src/server/index.ts index 7e9cb5c..c8ffaba 100644 --- a/src/server/index.ts +++ b/src/server/index.ts @@ -1,7 +1,6 @@ import { Protocol } from "../shared/protocol.js"; import { ClientCapabilities, - ClientRequest, Implementation, InitializedNotificationSchema, InitializeRequest,