@modelcontextprotocol/sdk
    Preparing search index...

    Interface CompleteResult

    The server's response to a completion/complete request

    interface CompleteResult {
        _meta?: { [key: string]: unknown };
        completion: { hasMore?: boolean; total?: number; values: string[] };
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index

    Properties

    Properties

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

    See General fields: _meta for notes on _meta usage.

    completion: { hasMore?: boolean; total?: number; values: string[] }

    Type Declaration

    • OptionalhasMore?: boolean

      Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown.

    • Optionaltotal?: number

      The total number of completion options available. This can exceed the number of values actually sent in the response.

    • values: string[]

      An array of completion values. Must not exceed 100 items.