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

    Function listPdfs

    • List .pdf files in the vault — companion to listCanvases / listNotes.

      PDFs are the #1 non-markdown content kind in real research vaults. Same privacy filter (--exclude-glob / --read-paths) applies. Returns lightweight metadata only — for full text extraction call readPdf. Unreadable PDFs are skipped without poisoning the listing.

      Parameters

      • vault: Vault

        The vault.

      • args: { folder?: string; limit?: number }

        All optional. folder restricts the scan. limit defaults to 100.

      Returns Promise<PdfSummary[]>

      A PdfSummary array sorted by mtime desc.

      If folder resolves outside the vault.

      const pdfs = await listPdfs(vault, { folder: "Papers", limit: 50 });