@modelcontextprotocol/sdk
    Preparing search index...

    Interface ElicitResult

    The client's response to an elicitation request.

    interface ElicitResult {
        _meta?: { [key: string]: unknown };
        action: "accept" | "decline" | "cancel";
        content?: { [key: string]: string | number | boolean };
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index

    Properties

    _meta?: { [key: string]: unknown }

    See General fields: _meta for notes on _meta usage.

    action: "accept" | "decline" | "cancel"

    The user action in response to the elicitation.

    • "accept": User submitted the form/confirmed the action
    • "decline": User explicitly decline the action
    • "cancel": User dismissed without making an explicit choice
    content?: { [key: string]: string | number | boolean }

    The submitted form data, only present when action is "accept". Contains values matching the requested schema.