enquire-mcp API reference - v3.9.0-rc.4
    Preparing search index...

    Interface SearchResponse

    Envelope returned by searchText.

    Includes scanned_notes for observability — agents can detect when an empty matches[] is "I searched 4000 notes and nothing matched" vs. "the folder filter excluded everything".

    interface SearchResponse {
        matches: SearchHit[];
        mode: SearchMode;
        query: string;
        scanned_notes: number;
    }
    Index

    Properties

    matches: SearchHit[]

    Sorted by score desc, truncated to args.limit ?? 25.

    Mode that was actually used (after args.mode ?? "all" defaulting).

    query: string

    Echo of the input query (untouched).

    scanned_notes: number

    Total markdown notes considered (post-folder-filter, pre-match).