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

    Interface ContextPackResult

    Result of contextPack — a ready-to-paste markdown bundle.

    bundle is the full markdown blob the caller can paste into any AI chat. sections exposes per-section byte counts so the agent can report what's inside ("4 notes + 12 backlinks + 3 daily notes"). estimated_tokens uses the ~4 chars/token heuristic for English / Cyrillic; CJK estimates run higher (real tokenization is model-dependent).

    interface ContextPackResult {
        budget_tokens: number;
        bundle: string;
        estimated_tokens: number;
        included_notes: string[];
        query: string;
        sections: { backlinks: number; dailies: number; notes: number };
    }
    Index

    Properties

    budget_tokens: number

    Echo of the input budget.

    bundle: string

    The packed markdown bundle ready to paste into an AI chat.

    estimated_tokens: number

    Approximate token count (chars / 4).

    included_notes: string[]

    Top-K hit paths included in the bundle.

    query: string

    Echo of the input query.

    sections: { backlinks: number; dailies: number; notes: number }

    Per-section byte counts for observability.