@duckduckgo/content-scope-scripts
    Preparing search index...

    Interface NativePromptFile

    File attached to a Duck.ai prompt. Shape mirrors Duck.ai's NativePromptFile input so native forwards entries unchanged.

    interface NativePromptFile {
        data: string;
        fileName: string;
        mimeType: string;
    }
    Index

    Properties

    data: string

    Base64-encoded file bytes, without the data: URL prefix.

    fileName: string

    Original filename, forwarded to Duck.ai.

    mimeType: string

    MIME type of the file. An open string (not an enum) to match Duck.ai's input shape. v1 only sends application/pdf.