@modelcontextprotocol/sdk
    Preparing search index...

    Interface ClientCapabilities

    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.

    interface ClientCapabilities {
        elicitation?: object;
        experimental?: { [key: string]: object };
        roots?: { listChanged?: boolean };
        sampling?: object;
    }
    Index

    Properties

    elicitation?: object

    Present if the client supports elicitation from the server.

    experimental?: { [key: string]: object }

    Experimental, non-standard capabilities that the client supports.

    roots?: { listChanged?: boolean }

    Present if the client supports listing roots.

    Type Declaration

    • OptionallistChanged?: boolean

      Whether the client supports notifications for changes to the roots list.

    sampling?: object

    Present if the client supports sampling from an LLM.