Mayson Monorepo Documentation
    Preparing search index...

    Interface ToolResultDownload

    Information about a downloadable file returned by a tool

    interface ToolResultDownload {
        fileId: string;
        filename: string;
        contentType: string;
        size: number;
        downloadUrl: string;
        expiresAt: string;
    }
    Index

    Properties

    fileId: string

    Unique file identifier

    filename: string

    Original filename for download

    contentType: string

    MIME content type

    size: number

    File size in bytes

    downloadUrl: string

    Relative download URL path (e.g., "/files/abc-123")

    expiresAt: string

    ISO timestamp when file expires