@modelcontextprotocol/sdk
    Preparing search index...

    Variable GetPromptResultSchemaConst

    GetPromptResultSchema: ZodObject<
        extendShape<
            { _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
            {
                description: ZodOptional<ZodString>;
                messages: ZodArray<
                    ZodObject<
                        {
                            content: ZodUnion<
                                [
                                    ZodObject<
                                        {
                                            _meta: ZodOptional<(...)>;
                                            text: ZodString;
                                            type: ZodLiteral<(...)>;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        { _meta?: (...)
                                        | (...); text: string; type: "text" },
                                        { _meta?: (...) | (...); text: string; type: "text" },
                                    >,
                                    ZodObject<
                                        {
                                            _meta: ZodOptional<(...)>;
                                            data: ZodEffects<(...), (...), (...)>;
                                            mimeType: ZodString;
                                            type: ZodLiteral<(...)>;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            _meta?: (...)
                                            | (...);
                                            data: string;
                                            mimeType: string;
                                            type: "image";
                                        },
                                        {
                                            _meta?: (...)
                                            | (...);
                                            data: string;
                                            mimeType: string;
                                            type: "image";
                                        },
                                    >,
                                    ZodObject<
                                        {
                                            _meta: ZodOptional<(...)>;
                                            data: ZodEffects<(...), (...), (...)>;
                                            mimeType: ZodString;
                                            type: ZodLiteral<(...)>;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            _meta?: (...)
                                            | (...);
                                            data: string;
                                            mimeType: string;
                                            type: "audio";
                                        },
                                        {
                                            _meta?: (...)
                                            | (...);
                                            data: string;
                                            mimeType: string;
                                            type: "audio";
                                        },
                                    >,
                                    ZodObject<
                                        extendShape<extendShape<(...), (...)>, { type: ... }>,
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            _meta?: (...) | (...);
                                            description?: (...) | (...);
                                            icons?: (...) | (...);
                                            mimeType?: (...) | (...);
                                            name: string;
                                            title?: (...) | (...);
                                            type: "resource_link";
                                            uri: string;
                                        },
                                        {
                                            _meta?: (...)
                                            | (...);
                                            description?: (...) | (...);
                                            icons?: (...) | (...);
                                            mimeType?: (...) | (...);
                                            name: string;
                                            title?: (...) | (...);
                                            type: "resource_link";
                                            uri: string;
                                        },
                                    >,
                                    ZodObject<
                                        {
                                            _meta: ZodOptional<(...)>;
                                            resource: ZodUnion<(...)>;
                                            type: ZodLiteral<(...)>;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            _meta?: (...)
                                            | (...);
                                            resource: (...) | (...);
                                            type: "resource";
                                        },
                                        {
                                            _meta?: (...)
                                            | (...);
                                            resource: (...) | (...);
                                            type: "resource";
                                        },
                                    >,
                                ],
                            >;
                            role: ZodEnum<["user", "assistant"]>;
                        },
                        "strip",
                        ZodTypeAny,
                        {
                            content: | {
                                _meta?: Record<string, unknown>;
                                text: string;
                                type: "text";
                            }
                            | {
                                _meta?: Record<string, unknown>;
                                data: string;
                                mimeType: string;
                                type: "image";
                            }
                            | {
                                _meta?: Record<string, unknown>;
                                data: string;
                                mimeType: string;
                                type: "audio";
                            }
                            | {
                                _meta?: Record<string, unknown>;
                                resource:
                                    | {
                                        _meta?: (...)
                                        | (...);
                                        mimeType?: (...) | (...);
                                        text: string;
                                        uri: string;
                                    }
                                    | {
                                        _meta?: (...)
                                        | (...);
                                        blob: string;
                                        mimeType?: (...) | (...);
                                        uri: string;
                                    };
                                type: "resource";
                            }
                            | {
                                _meta?: objectOutputType<{}, ZodTypeAny, "passthrough">;
                                description?: string;
                                icons?: { mimeType?: ...; sizes?: ...; src: ... }[];
                                mimeType?: string;
                                name: string;
                                title?: string;
                                type: "resource_link";
                                uri: string;
                            };
                            role: "user"
                            | "assistant";
                        },
                        {
                            content: | {
                                _meta?: Record<string, unknown>;
                                text: string;
                                type: "text";
                            }
                            | {
                                _meta?: Record<string, unknown>;
                                data: string;
                                mimeType: string;
                                type: "image";
                            }
                            | {
                                _meta?: Record<string, unknown>;
                                data: string;
                                mimeType: string;
                                type: "audio";
                            }
                            | {
                                _meta?: Record<string, unknown>;
                                resource:
                                    | {
                                        _meta?: (...)
                                        | (...);
                                        mimeType?: (...) | (...);
                                        text: string;
                                        uri: string;
                                    }
                                    | {
                                        _meta?: (...)
                                        | (...);
                                        blob: string;
                                        mimeType?: (...) | (...);
                                        uri: string;
                                    };
                                type: "resource";
                            }
                            | {
                                _meta?: objectInputType<{}, ZodTypeAny, "passthrough">;
                                description?: string;
                                icons?: { mimeType?: ...; sizes?: ...; src: ... }[];
                                mimeType?: string;
                                name: string;
                                title?: string;
                                type: "resource_link";
                                uri: string;
                            };
                            role: "user"
                            | "assistant";
                        },
                    >,
                    "many",
                >;
            },
        >,
        "passthrough",
        ZodTypeAny,
        objectOutputType<
            extendShape<
                { _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
                {
                    description: ZodOptional<ZodString>;
                    messages: ZodArray<
                        ZodObject<
                            {
                                content: ZodUnion<
                                    [
                                        ZodObject<
                                            { _meta: ...; text: ...; type: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { _meta?: ...; text: ...; type: ... },
                                            { _meta?: ...; text: ...; type: ... },
                                        >,
                                        ZodObject<
                                            { _meta: ...; data: ...; mimeType: ...; type: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { _meta?: ...; data: ...; mimeType: ...; type: ... },
                                            { _meta?: ...; data: ...; mimeType: ...; type: ... },
                                        >,
                                        ZodObject<
                                            { _meta: ...; data: ...; mimeType: ...; type: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { _meta?: ...; data: ...; mimeType: ...; type: ... },
                                            { _meta?: ...; data: ...; mimeType: ...; type: ... },
                                        >,
                                        ZodObject<
                                            extendShape<(...), (...)>,
                                            "strip",
                                            ZodTypeAny,
                                            {
                                                _meta?: ...;
                                                description?: ...;
                                                icons?: ...;
                                                mimeType?: ...;
                                                name: ...;
                                                title?: ...;
                                                type: ...;
                                                uri: ...;
                                            },
                                            {
                                                _meta?: ...;
                                                description?: ...;
                                                icons?: ...;
                                                mimeType?: ...;
                                                name: ...;
                                                title?: ...;
                                                type: ...;
                                                uri: ...;
                                            },
                                        >,
                                        ZodObject<
                                            { _meta: ...; resource: ...; type: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { _meta?: ...; resource: ...; type: ... },
                                            { _meta?: ...; resource: ...; type: ... },
                                        >,
                                    ],
                                >;
                                role: ZodEnum<["user", "assistant"]>;
                            },
                            "strip",
                            ZodTypeAny,
                            {
                                content: | {
                                    _meta?: Record<(...), (...)>;
                                    text: string;
                                    type: "text";
                                }
                                | {
                                    _meta?: Record<(...), (...)>;
                                    data: string;
                                    mimeType: string;
                                    type: "image";
                                }
                                | {
                                    _meta?: Record<(...), (...)>;
                                    data: string;
                                    mimeType: string;
                                    type: "audio";
                                }
                                | {
                                    _meta?: Record<(...), (...)>;
                                    resource:
                                        | { _meta?: ...; mimeType?: ...; text: ...; uri: ... }
                                        | { _meta?: ...; blob: ...; mimeType?: ...; uri: ... };
                                    type: "resource";
                                }
                                | {
                                    _meta?: objectOutputType<(...), (...), (...)>;
                                    description?: string;
                                    icons?: (...)[];
                                    mimeType?: string;
                                    name: string;
                                    title?: string;
                                    type: "resource_link";
                                    uri: string;
                                };
                                role: "user"
                                | "assistant";
                            },
                            {
                                content: | {
                                    _meta?: Record<(...), (...)>;
                                    text: string;
                                    type: "text";
                                }
                                | {
                                    _meta?: Record<(...), (...)>;
                                    data: string;
                                    mimeType: string;
                                    type: "image";
                                }
                                | {
                                    _meta?: Record<(...), (...)>;
                                    data: string;
                                    mimeType: string;
                                    type: "audio";
                                }
                                | {
                                    _meta?: Record<(...), (...)>;
                                    resource:
                                        | { _meta?: ...; mimeType?: ...; text: ...; uri: ... }
                                        | { _meta?: ...; blob: ...; mimeType?: ...; uri: ... };
                                    type: "resource";
                                }
                                | {
                                    _meta?: objectInputType<(...), (...), (...)>;
                                    description?: string;
                                    icons?: (...)[];
                                    mimeType?: string;
                                    name: string;
                                    title?: string;
                                    type: "resource_link";
                                    uri: string;
                                };
                                role: "user"
                                | "assistant";
                            },
                        >,
                        "many",
                    >;
                },
            >,
            ZodTypeAny,
            "passthrough",
        >,
        objectInputType<
            extendShape<
                { _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
                {
                    description: ZodOptional<ZodString>;
                    messages: ZodArray<
                        ZodObject<
                            {
                                content: ZodUnion<
                                    [
                                        ZodObject<
                                            { _meta: ...; text: ...; type: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { _meta?: ...; text: ...; type: ... },
                                            { _meta?: ...; text: ...; type: ... },
                                        >,
                                        ZodObject<
                                            { _meta: ...; data: ...; mimeType: ...; type: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { _meta?: ...; data: ...; mimeType: ...; type: ... },
                                            { _meta?: ...; data: ...; mimeType: ...; type: ... },
                                        >,
                                        ZodObject<
                                            { _meta: ...; data: ...; mimeType: ...; type: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { _meta?: ...; data: ...; mimeType: ...; type: ... },
                                            { _meta?: ...; data: ...; mimeType: ...; type: ... },
                                        >,
                                        ZodObject<
                                            extendShape<(...), (...)>,
                                            "strip",
                                            ZodTypeAny,
                                            {
                                                _meta?: ...;
                                                description?: ...;
                                                icons?: ...;
                                                mimeType?: ...;
                                                name: ...;
                                                title?: ...;
                                                type: ...;
                                                uri: ...;
                                            },
                                            {
                                                _meta?: ...;
                                                description?: ...;
                                                icons?: ...;
                                                mimeType?: ...;
                                                name: ...;
                                                title?: ...;
                                                type: ...;
                                                uri: ...;
                                            },
                                        >,
                                        ZodObject<
                                            { _meta: ...; resource: ...; type: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { _meta?: ...; resource: ...; type: ... },
                                            { _meta?: ...; resource: ...; type: ... },
                                        >,
                                    ],
                                >;
                                role: ZodEnum<["user", "assistant"]>;
                            },
                            "strip",
                            ZodTypeAny,
                            {
                                content: | {
                                    _meta?: Record<(...), (...)>;
                                    text: string;
                                    type: "text";
                                }
                                | {
                                    _meta?: Record<(...), (...)>;
                                    data: string;
                                    mimeType: string;
                                    type: "image";
                                }
                                | {
                                    _meta?: Record<(...), (...)>;
                                    data: string;
                                    mimeType: string;
                                    type: "audio";
                                }
                                | {
                                    _meta?: Record<(...), (...)>;
                                    resource:
                                        | { _meta?: ...; mimeType?: ...; text: ...; uri: ... }
                                        | { _meta?: ...; blob: ...; mimeType?: ...; uri: ... };
                                    type: "resource";
                                }
                                | {
                                    _meta?: objectOutputType<(...), (...), (...)>;
                                    description?: string;
                                    icons?: (...)[];
                                    mimeType?: string;
                                    name: string;
                                    title?: string;
                                    type: "resource_link";
                                    uri: string;
                                };
                                role: "user"
                                | "assistant";
                            },
                            {
                                content: | {
                                    _meta?: Record<(...), (...)>;
                                    text: string;
                                    type: "text";
                                }
                                | {
                                    _meta?: Record<(...), (...)>;
                                    data: string;
                                    mimeType: string;
                                    type: "image";
                                }
                                | {
                                    _meta?: Record<(...), (...)>;
                                    data: string;
                                    mimeType: string;
                                    type: "audio";
                                }
                                | {
                                    _meta?: Record<(...), (...)>;
                                    resource:
                                        | { _meta?: ...; mimeType?: ...; text: ...; uri: ... }
                                        | { _meta?: ...; blob: ...; mimeType?: ...; uri: ... };
                                    type: "resource";
                                }
                                | {
                                    _meta?: objectInputType<(...), (...), (...)>;
                                    description?: string;
                                    icons?: (...)[];
                                    mimeType?: string;
                                    name: string;
                                    title?: string;
                                    type: "resource_link";
                                    uri: string;
                                };
                                role: "user"
                                | "assistant";
                            },
                        >,
                        "many",
                    >;
                },
            >,
            ZodTypeAny,
            "passthrough",
        >,
    > = ...

    The server's response to a prompts/get request from the client.