@modelcontextprotocol/sdk
    Preparing search index...

    Interface PromptMessage

    Describes a message returned as part of a prompt.

    This is similar to SamplingMessage, but also supports the embedding of resources from the MCP server.

    interface PromptMessage {
        content: ContentBlock;
        role: Role;
    }
    Index

    Properties

    Properties

    content: ContentBlock
    role: Role