Mayson Monorepo Documentation
    Preparing search index...

    Interface ToolResult

    Result from tool execution

    interface ToolResult {
        success: boolean;
        data?: unknown;
        error?: string;
        summary?: string;
        download?: ToolResultDownload;
    }
    Index

    Properties

    success: boolean

    Whether execution succeeded

    data?: unknown

    Result data

    error?: string

    Error message if failed

    summary?: string

    Human-readable summary for chat display

    Optional downloadable file generated by the tool