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

    Interface ReadPdfResult

    Envelope returned by readPdf.

    has_text is the OR across pages — false for image-only scans, which agents should detect and route through ocrPdf. metadata is present when args.include_metadata is not explicitly false AND the PDF carries any doc-level metadata.

    interface ReadPdfResult {
        full_text: string;
        has_text: boolean;
        metadata?: {
            author?: string;
            creation_date?: string;
            creator?: string;
            keywords?: string;
            mod_date?: string;
            producer?: string;
            subject?: string;
            title?: string;
        };
        mtime: string;
        name: string;
        page_count: number;
        pages: ReadPdfPage[];
        path: string;
        size_bytes: number;
        total_page_count: number;
    }
    Index

    Properties

    full_text: string
    has_text: boolean
    metadata?: {
        author?: string;
        creation_date?: string;
        creator?: string;
        keywords?: string;
        mod_date?: string;
        producer?: string;
        subject?: string;
        title?: string;
    }
    mtime: string
    name: string
    page_count: number
    pages: ReadPdfPage[]
    path: string
    size_bytes: number
    total_page_count: number

    When pages slicing was applied, this carries the original page count for callers that need to know how much they didn't read.