Member Junction
    Preparing search index...

    Standardized result from SVG actions

    interface SVGActionResult {
        AIDirectives?: AIDirective[];
        diagnostics?: Record<string, unknown>;
        height?: number;
        Message?: string;
        Params?: ActionParam[];
        ResultCode: string;
        Success: boolean;
        svg?: string;
        warnings?: string[];
        width?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    AIDirectives?: AIDirective[]

    Optional array of structured directives for the AI agent. Unlike Message (which is informational), directives are surfaced as explicit guidance the AI must consider. Each directive has a type (instruction, constraint, context, suggestion) and priority level.

    diagnostics?: Record<string, unknown>

    Diagnostic information

    height?: number

    Height in pixels

    Message?: string

    Optional, additional information about the result of the action

    Params?: ActionParam[]

    All parameters including inputs and outputs are provided here for convenience

    ResultCode: string

    A string that indicates the strucutred output/results of the action

    Success: boolean

    Indicates if the action was successful or not.

    svg?: string

    SVG XML string ready to embed

    warnings?: string[]

    Warnings about rendering issues

    width?: number

    Width in pixels