Tela SDK for JavaScript
    Preparing search index...

    Represents a variable that can be used in a canvas template.

    type CanvasVariable = {
        description: string;
        name: string;
        processingOptions: { allowMultimodal: boolean };
        required: boolean;
        type: string;
    }
    Index

    Properties

    description: string

    Description of the variable's purpose.

    name: string

    The name of the variable.

    processingOptions: { allowMultimodal: boolean }

    Processing options for the variable.

    Type Declaration

    • allowMultimodal: boolean

      Whether multimodal content (images, files) is allowed.

    required: boolean

    Whether this variable is required for canvas execution.

    type: string

    The type of the variable (e.g., 'string', 'number', 'file').