Handbook · Reference · Blockly · Block index
Blockly block index
Where in the UI. Scripts tab toolbox. Use the filter on this page or your browser’s find-in-page.
426 blocks from the editor toolbox at build time. Type in the filter to narrow by block id, toolbox category, readable label, or purpose. Each row links to the category page for context.
Stock Variables and Functions flyouts have no fixed block ids — Blockly generates those from names on your workspace. See Variables (stock) and Functions (stock).
| Block id | Toolbox | Read as | Purpose |
|---|---|---|---|
containd_add_duration_to_iso | Date and time | add duration to iso | callHost(addDurationToIso) |
containd_align_canvas_items | Canvas | align canvas items | Edge-align items from an item-ref list (e.g. child item refs). Not the Sort/Align modal — use “align all children” for column/row/snap. |
containd_align_layout_all_canvas_items | Canvas | align layout all canvas items | Align tab: column/row pack or snap-to-grid for every child. Snap size appears only for snap-to-grid. Not edge-align. |
containd_align_layout_canvas_items | Canvas | align layout canvas items | Align tab for a subset. Plug an item-ref list; leave empty = all children. Snap size only for snap-to-grid. |
containd_animate_items | Canvas | animate items | callHost(animateItems) |
containd_animate_items_to | Canvas | animate items to | callHost(animateItems) with runtime target coordinates |
containd_append_table_row | Table | append table row | values list order must match table columns; host coerces types |
containd_apply_element_defaults_on_bound_item | Items | apply element defaults on bound item | item fields, categories, or both |
containd_apply_element_defaults_on_item | Items | apply element defaults on item | callHost(applyElementDefaults) with itemId — requires write.relatives when not bound item |
containd_apply_mutations | Items | apply mutations | JSON array of mutation records |
containd_apply_svg_shape_settings_patch | Data | apply svg shape settings patch | Merge patch into svgShapeSettings on bound item (callHost getItemData/setItemData) |
containd_apply_svg_shape_settings_patch_on_item | Data | apply svg shape settings patch on item | Merge patch into svgShapeSettings on target item — requires write.relatives when not bound |
containd_apply_title_style_patch | Data | apply title style patch | Merge patch into defaultTitleStyle on bound item (callHost getItemData/setItemData) |
containd_apply_title_style_patch_on_item | Data | apply title style patch on item | Merge patch into defaultTitleStyle on target item — requires write.relatives when not bound |
containd_apply_web_share_policies_patch | Data | apply web share policies patch | Merge patch into webSharePolicies on bound item (callHost getItemData/setItemData) |
containd_apply_web_share_policies_patch_on_item | Data | apply web share policies patch on item | Merge patch into webSharePolicies on target item — requires write.relatives when not bound |
containd_apply_wire_style_patch | Graph | apply wire style patch | Apply a wire-style patch to one wire (needs write.graph). Empty / all-unchanged patches are no-ops. |
containd_bound_item_id | Tree | bound item id | Numeric id of the script bound item (onCreate / action handler context) |
containd_call_host_advanced | Advanced | call host advanced | Generic callHost with JSON args object |
containd_call_shared_function | Shared functions | call shared function | Call a project-wide shared Blockly function |
containd_cancel_animation | Canvas | cancel animation | callHost(cancelAnimation) |
containd_cancel_reminder | System | cancel reminder | Cancels the OS notification and deletes the reminder by reminderId. |
containd_cancel_schedule | Canvas | cancel schedule | callHost(cancelSchedule) |
containd_category_property_has_value | Data | category property has value | True when the bound item resolves a value (stored or static default) for the property |
containd_category_property_has_value_on_item | Data | category property has value on item | True when the given item resolves a value for the property — item socket accepts numeric id or ItemRef |
containd_change_canvas_level | Canvas | change canvas level | callHost(changeCanvasLevel) |
containd_class_id | Class | class id | Project class id — every class in the project, including those not attached to this template. Plug into item has class, or replace with a text block to type any id. |
containd_class_variable_exists | Class | class variable exists | True when the class-authored key is stored on the active item. |
containd_class_variable_exists_on_item | Class | class variable exists on item | True when the class-authored key is stored on the given item. |
containd_clear_table | Table | clear table | remove all rows; column schema unchanged |
containd_compare_iso | Date and time | compare iso | callHost(compareIso) |
containd_compute_plot_from_lists | Statistics | compute plot from lists | build a plot result object (pass to “show plot result”). |
containd_compute_plot_from_lists_multi | Statistics | compute plot from lists multi | multi-trace result object (pass to “show plot result”). |
containd_connect_items | Graph | connect items | Create a graph wire from source to target (needs write.graph). Bound item must be source or target. Use 0 for bound item id. Fires onGraphChange. For wire appearance, use wires-of-item + set wire blocks. |
containd_convert_quantity | Units | convert quantity | returns converted numeric value (unit/converted via advanced callHost) |
containd_create_canvas_screenshot | Media | create canvas screenshot | TBD, host not implemented |
containd_create_child_item | Items | create child item | callHost(createChildItem) → itemId |
containd_create_child_on_bound_item | Items | create child on bound item | callHost(createChildItem) on bound item → itemId |
containd_create_child_on_bound_item_by_id | Items | create child on bound item by id | callHost(createChildItem) on bound item with explicit template/element ids → itemId |
containd_create_child_under_item | Items | create child under item | callHost(createChildItem) with parentId → itemId |
containd_create_child_under_item_by_id | Items | create child under item by id | callHost(createChildItem) with parentId and explicit template/element ids → itemId |
containd_create_datetime_from_parts | Date and time | create datetime from parts | month 1–12; hour/minute/second default 0; returns ISO |
containd_create_empty_table_row | Table | create empty table row | list of nulls matching column count (fill then append/set) |
containd_create_empty_table_row_on_item | Table | create empty table row on item | callHost(createEmptyTableRow) with itemId — accepts numeric id or ItemRef; requires read.relatives when not bound item |
containd_create_item | Items | create item | callHost(createItem) → itemId |
containd_create_item_extended | Items | create item extended | create item extended source … template … element … title … parent … interactive … AI … language … defer lifecycle … onCreated script … onAiComplete script … prompt context … defaults JSON … media uris JSON … category ids JSON … |
containd_create_item_extended_json | Items | create item extended json | callHost(createItemExtended) with full JSON request → itemId |
containd_create_qr_code | Media | create qr code | TBD, host not implemented |
containd_create_root_list | Items | create root list | callHost(createItem) with parentId null → itemId |
containd_create_root_list_by_id | Items | create root list by id | callHost(createItem) with parentId null and explicit template/element ids → itemId |
containd_data_series_source_id | Statistics | data series source id | Read .sourceId (string) from a listAvailableDataSources descriptor. |
containd_data_series_x_list | Statistics | data series x list | Extract X array from a “data series for source id” result. |
containd_data_series_y_list | Statistics | data series y list | Extract Y array from a “data series for source id” result. |
containd_data_source_label | Statistics | data source label | Read .label (string) — human display name for listView / plot title. |
containd_data_source_prop | Statistics | data source prop | Read one field from a listAvailableDataSources descriptor (DEC-076). |
containd_delete_class_variable | Class | delete class variable | class-authored key dropdown |
containd_delete_class_variable_on_item | Class | delete class variable on item | callHost(deleteItemVariable) with itemId — class-authored key dropdown |
containd_delete_item_variable | Data | delete item variable | removes key from itemVariablesJson |
containd_delete_item_variable_on_item | Data | delete item variable on item | callHost(deleteItemVariable) with itemId |
containd_delete_local_state | Data | delete local state | callHost(deleteLocalState) |
containd_diff_iso_days | Date and time | diff iso days | callHost(diffIsoDays) |
containd_disconnect_items | Graph | disconnect items | Remove a graph wire between source and target (needs write.graph). Bound item must be source or target. Use 0 for bound item id. Fires onGraphChange. No-op when the edge is missing. |
containd_dispatch_action | Actions | dispatch action | requires scripts.invoke |
containd_encoded_select_build | Containd text helpers | encoded select build | Build encoded stringSelect value: selected;option1;option2;... |
containd_encoded_select_options | Containd text helpers | encoded select options | Read option list (indices 1..n) from encoded stringSelect value |
containd_encoded_select_selected | Containd text helpers | encoded select selected | Read selected value (index 0) from encoded stringSelect value |
containd_ensure_internal_product_code | Tree | ensure internal product code | fill internalProductCode if empty (same as label create); no-op if already set; use 0 for bound item |
containd_enum_index_to_value | Layouts | enum index to value | callHost(listEnumOptions) then map 0-based index → option id (empty if out of range). |
containd_enum_option_field | Layouts | enum option field | Read one field from a listEnumOptions option object. |
containd_enum_option_id | Layouts | enum option id | Stable enum option id string for the selected category enum property |
containd_enum_value_to_index | Layouts | enum value to index | callHost(listEnumOptions) then map option id → 0-based index (−1 if not found). |
containd_evaluate_expression | System | evaluate expression | requires scripts.invoke |
containd_export_inventory_report | Files | export inventory report | callHost(exportInventoryReport) |
containd_extract_table_column | Table | extract table column | flat row-ordered values list (timestamp cells are epoch ms) |
containd_extract_table_column_on_item | Table | extract table column on item | callHost(extractTableColumn) with itemId — accepts numeric id or ItemRef; requires read.relatives when not bound item |
containd_format_iso | Date and time | format iso | callHost(formatIso) |
containd_format_item_link | Text | format item link | Build [[item:id|label]] rich text markup |
containd_format_mailto_link | Text | format mailto link | Build [[mailto:…]] rich text markup |
containd_format_tel_link | Text | format tel link | Build [[tel:…|label]] rich text markup |
containd_format_url_link | Text | format url link | Build [[url:…|label]] rich text markup |
containd_get_ai_credits | AI | get ai credits | callHost(getAiCredits) |
containd_get_current_weekday_index | Date and time | get current weekday index | 0=Sun … 6=Sat |
containd_get_current_weekday_name | Date and time | get current weekday name | Eng short Sun…Sat |
containd_get_data_series | Statistics | get data series | callHost(getDataSeries) → { xList, yList, label, … } for one catalog sourceId. |
containd_get_data_source | Statistics | get data source | callHost(getDataSource) → catalog descriptor for one sourceId (DEC-076). |
containd_get_datetime | Date and time | get datetime | callHost(getCurrentDateTime) |
containd_get_datetime_part | Date and time | get datetime part | month is 1–12; timezone local|utc |
containd_get_element_display_name | Layouts | get element display name | omit element id to use the current element; app locale |
containd_get_element_display_name_on_item | Layouts | get element display name on item | callHost(getElementDisplayName) with itemId |
containd_get_item_element_id | Layouts | get item element id | current item templateElementId |
containd_get_item_element_id_on_item | Layouts | get item element id on item | callHost(getItemElementId) with itemId — requires read.relatives when not bound item |
containd_get_item_ref_by_uuid | Tree | get item ref by uuid | callHost(getItemRefByUuid) → item id for collectionShareId UUID (0 when not found) |
containd_get_item_uuid | Tree | get item uuid | collectionShareId for the item (mints if missing); use 0 for bound item |
containd_get_last_weekday_before | Date and time | get last weekday before | on-or-before (passthrough if same day); preserves clock time; returns ISO |
containd_get_layout_display_name | Layouts | get layout display name | omit layout id to use the live layout; app locale |
containd_get_layout_display_name_on_item | Layouts | get layout display name on item | callHost(getLayoutDisplayName) with itemId |
containd_get_next_weekday_after | Date and time | get next weekday after | on-or-after (passthrough if same day); preserves clock time; returns ISO |
containd_get_original_item_ref | Tree | get original item ref | callHost(getOriginalItemRef) → original item id for a placeholder (0 if not a placeholder / missing); use 0 for bound item |
containd_get_parent_item_ref | Tree | get parent item ref | callHost(getParentItemRef) → parent item id (0 if none); use 0 for bound item |
containd_get_reminder | System | get reminder | Loads ReminderView for an id. Plug into “reminder … property” to read title, wasFired, etc. |
containd_get_reminder_id_for_timer | System | get reminder id for timer | Looks up the OS reminder linked when the countdown was started with create reminder = true. |
containd_get_root_item_ref | Tree | get root item ref | callHost(getRootItemRef) → item id (0 if missing); use 0 for the bound item |
containd_get_table_column_types | Table | get table column types | type strings (string/int/double/timestamp/color) |
containd_get_table_column_types_on_item | Table | get table column types on item | callHost(getTableMeta) column types with itemId — accepts numeric id or ItemRef; requires read.relatives when not bound item |
containd_get_table_columns | Table | get table columns | returns column id strings in schema order |
containd_get_table_columns_on_item | Table | get table columns on item | callHost(getTableMeta) column ids with itemId — accepts numeric id or ItemRef; requires read.relatives when not bound item |
containd_get_table_headers | Table | get table headers | localized header labels in column order |
containd_get_table_headers_on_item | Table | get table headers on item | callHost(getTableMeta) headers with itemId — accepts numeric id or ItemRef; requires read.relatives when not bound item |
containd_get_table_meta_max_rows | Table | get table meta max rows | callHost(getTableMeta).value.maxRows |
containd_get_table_meta_max_rows_on_item | Table | get table meta max rows on item | callHost(getTableMeta).value.maxRows with itemId — accepts numeric id or ItemRef; requires read.relatives when not bound item |
containd_get_table_row | Table | get table row | one row as a list at 0-based index |
containd_get_table_row_count | Table | get table row count | callHost(getTableRowCount).value.rowCount |
containd_get_table_row_count_on_item | Table | get table row count on item | callHost(getTableRowCount) with itemId — accepts numeric id or ItemRef; requires read.relatives when not bound item |
containd_get_table_row_on_item | Table | get table row on item | callHost(getTableRow) with itemId — accepts numeric id or ItemRef; requires read.relatives when not bound item |
containd_get_table_rows | Table | get table rows | 2D list of all rows (column order) |
containd_get_table_rows_on_item | Table | get table rows on item | callHost(getTableRows) with itemId — accepts numeric id or ItemRef; requires read.relatives when not bound item |
containd_get_timer | System | get timer | Loads one timer’s live state (TimerView object). |
containd_get_timer_id_for_reminder | System | get timer id for reminder | Reverse link: which timer created this reminder (if any). |
containd_hex_color_to_int | Math | hex color to int | Pack #RRGGBB / #RRGGBBAA (alpha last) to unsigned 32-bit 0xRRGGBBAA. |
containd_import_image | Media | import image | callHost(importImageToItem) on bound item — gallery or camera; returns imageUri (null if cancelled) |
containd_import_image_on_item | Media | import image on item | callHost(importImageToItem) with itemId — gallery or camera; returns imageUri (null if cancelled) |
containd_int_to_hex_color | Math | int to hex color | Unpack unsigned 32-bit 0xRRGGBBAA to #RRGGBB (opaque) or #RRGGBBAA. |
containd_is_layout_enabled | Layouts | is layout enabled | true when allowLayoutEnableDisable is off or the mask bit is 1; reserved variable _layoutEnabled |
containd_is_layout_enabled_by_id | Layouts | is layout enabled by id | callHost(isLayoutEnabled) by layout id |
containd_is_layout_enabled_by_id_on_item | Layouts | is layout enabled by id on item | callHost(isLayoutEnabled) by id with itemId |
containd_is_layout_enabled_on_item | Layouts | is layout enabled on item | callHost(isLayoutEnabled) with itemId — requires read.relatives when not bound item |
containd_item_exists | Tree | item exists | true when the item row exists; use 0 for bound item |
containd_item_has_category | Data | item has category | True when categories[] on the bound item includes the category id |
containd_item_has_category_on_item | Data | item has category on item | True when categories[] on the given item includes the category id — item socket accepts numeric id or ItemRef (e.g. parent_ref) |
containd_item_has_class | Class | item has class | true when the bound item element has the class attached or via inheritance. Plug a class picker or type any class id string. Membership is resolved on the target item’s template. |
containd_item_has_class_on_item | Class | item has class on item | callHost(itemHasClass) with itemId — use 0 for bound item; requires read.relatives for other items. Plug a class picker or type any class id string. |
containd_item_has_element | Layouts | item has element | true when the bound item uses this element id |
containd_item_has_element_on_item | Layouts | item has element on item | callHost(itemHasElement) with itemId — requires read.relatives when not bound item |
containd_item_has_timer | System | item has timer | Quick check for timers on the item running this script. |
containd_item_has_timer_on_item | System | item has timer on item | Same as “this item has timer”, for another item. |
containd_item_id_at_index_in_ref_list | Loops | item id at index in ref list | Read one id from a tree/graph item id list (also accepts legacy ItemRef[]). Plug into ContaindData “… on item”. |
containd_item_id_at_index_in_ref_list | Tree | item id at index in ref list | Read one id from a tree/graph item id list (also accepts legacy ItemRef[]). Plug into ContaindData “… on item”. |
containd_item_id_from_item_ref | Tree | item id from item ref | Usually unnecessary — tree/graph lists already return numbers. Compat: coerces a legacy ItemRef or bare number via __resolveItemId. |
containd_item_is_placeholder | Tree | item is placeholder | true when originalId > 0; use 0 for bound item |
containd_item_is_root | Tree | item is root | True when the item has no parent; use 0 for the bound item |
containd_item_ref_list_last_index | Loops | item ref list last index | Last valid index (length − 1) for controls_for: from 0, to this value, by 1. Returns 0 when list is empty. |
containd_item_ref_list_last_index | Tree | item ref list last index | Last valid index (length − 1) for controls_for: from 0, to this value, by 1. Returns 0 when list is empty. |
containd_item_ref_list_length | Loops | item ref list length | Array length for child/sibling/graph/placeholder/root item id lists |
containd_item_ref_list_length | Tree | item ref list length | Array length for child/sibling/graph/placeholder/root item id lists |
containd_item_variable_exists | Data | item variable exists | True when the key is stored on the active item (getItemVariable type is set). |
containd_item_variable_exists_on_item | Data | item variable exists on item | True when the key is stored on the given item. |
containd_join_strings | Containd text helpers | join strings | Join a list of strings with a delimiter. Type \ / \\r / \\t in a text block for real newline/CR/tab (same unescape as split). |
containd_lap_stopwatch | System | lap stopwatch | Records a lap on a running stopwatch (no-op / error on countdowns). |
containd_launch_ai_chat | AI | launch ai chat | TBD, host not implemented |
containd_list_asort | Statistics | list asort | callHost(listAsort) → [sortedValues[], indices[]] |
containd_list_available_data_sources | Statistics | list available data sources | callHost(listAvailableDataSources) → array of catalog descriptors (DEC-076). |
containd_list_child_item_refs | Tree | list child item refs | callHost(listChildItemRefs) → number[] of direct child ids; use 0 for bound item |
containd_list_convertible_units | Units | list convertible units | returns same-dimension unit ids excluding the input (empty if unknown) |
containd_list_convolve | Statistics | list convolve | FIR folding; same (default) or full |
containd_list_correlate_series | Statistics | list correlate series | [r, p, xFirst, xLast, n] or empty list if insufficient data |
containd_list_correlation | Statistics | list correlation | { r, p, n } Pearson correlation |
containd_list_correlation_p | Statistics | list correlation p | two-tailed p-value |
containd_list_correlation_r | Statistics | list correlation r | Pearson r coefficient |
containd_list_cross_correlation | Statistics | list cross correlation | correlation values list (-maxLag…+maxLag); leave max lag empty for full range |
containd_list_cross_correlation_lags | Statistics | list cross correlation lags | lag index list matching the values list |
containd_list_cumulative_sum | Statistics | list cumulative sum | running sum (non-finite → NaN gap) |
containd_list_dft | Statistics | list dft | [magnitude[], phaseRadians[]] |
containd_list_element_layout_ids | Layouts | list element layout ids | cyclable layout ids; omit element id to use the current element |
containd_list_element_layout_ids_on_item | Layouts | list element layout ids on item | callHost(listElementLayoutIds) with itemId — omit element id for current element |
containd_list_enum_option_ids | Layouts | list enum option ids | callHost(listEnumOptions) → string[] of option ids in definition order. |
containd_list_enum_options | Layouts | list enum options | callHost(listEnumOptions) → array of { id, displayName, color?, icon? }. |
containd_list_fft | Statistics | list fft | zero-pad to power of 2 → [magnitude[], phaseRadians[]] |
containd_list_five_number_summary | Statistics | list five number summary | [min, Q1, median, Q3, max] |
containd_list_graph_edges | Graph | list graph edges | List graph wires for styling (not neighbor id lists), including wires owned by placeholder seats. Use 0 for the bound item. Loop with wire at index → set color / peer item id. For ContaindData on neighbors, prefer outgoing/incoming graph item ids instead. |
containd_list_idft | Statistics | list idft | spectrum [mag[], phase[]] → real time series |
containd_list_ifft | Statistics | list ifft | power-of-2 spectrum [mag[], phase[]] → real time series |
containd_list_incoming_item_refs | Graph | list incoming item refs | number[] of original items that wire INTO this item or any of its placeholders (needs read.graph). Use 0 for bound item. Originals only (placeholder seats resolve to originals). |
containd_list_interpolate | Statistics | list interpolate | resample y1 onto x2 → y2; empty list if cannot interpolate |
containd_list_item_classes | Class | list item classes | effective Template Class ids for the bound item (attached + ancestors) |
containd_list_item_classes_on_item | Class | list item classes on item | use 0 for bound item; requires read.relatives for other items |
containd_list_item_properties_by_type | Data | list item properties by type | callHost(listItemPropertiesByType) on the bound item (DEC-076). |
containd_list_item_properties_by_type_on_item | Data | list item properties by type on item | callHost(listItemPropertiesByType) for another item (needs read.relatives). |
containd_list_item_reminders | System | list item reminders | List of reminderId strings for the current item. |
containd_list_item_reminders_on_item | System | list item reminders on item | List of reminderId strings for that item. Returns [] when none. Requires notifications.read. |
containd_list_item_scripts | Class | list item scripts | script ids exposed via trigger-api on this item |
containd_list_item_scripts_by_prefix | Class | list item scripts by prefix | matches script.id prefix on this item |
containd_list_item_scripts_by_prefix_on_item | Class | list item scripts by prefix on item | use 0 for bound item |
containd_list_item_scripts_on_item | Class | list item scripts on item | use 0 for bound item; requires read.relatives for other items |
containd_list_item_timers | System | list item timers | All timers on the item running this script. |
containd_list_item_timers_on_item | System | list item timers on item | All timers on another item. |
containd_list_linear_regression | Statistics | list linear regression | { slope, intercept, r2, r, p, n } |
containd_list_linear_regression_intercept | Statistics | list linear regression intercept | .intercept |
containd_list_linear_regression_p | Statistics | list linear regression p | .p |
containd_list_linear_regression_r | Statistics | list linear regression r | .r |
containd_list_linear_regression_r2 | Statistics | list linear regression r2 | .r2 |
containd_list_linear_regression_slope | Statistics | list linear regression slope | .slope |
containd_list_max | Statistics | list max | callHost(listMax) → [value, index] |
containd_list_mean | Statistics | list mean | mean of finite numeric list values |
containd_list_median | Statistics | list median | median of finite numeric list values |
containd_list_min | Statistics | list min | callHost(listMin) → [value, index] |
containd_list_moving_average | Statistics | list moving average | forward or filtfilt bidirectional |
containd_list_outgoing_item_refs | Graph | list outgoing item refs | number[] of original items this item wires TO, including edges stored on any of its placeholders (needs read.graph). Use 0 for bound item. Loop and plug ids into ContaindData “… on item”. Prefer this over wires-of-item when you need data, not style. |
containd_list_overlap_range | Statistics | list overlap range | [start, end] or empty list if no overlap |
containd_list_placeholder_item_refs | Tree | list placeholder item refs | callHost(listPlaceholderItemRefs) → number[] of placeholders for the canonical original; use 0 for bound item |
containd_list_range | Statistics | list range | { min, max } object |
containd_list_reverse | Statistics | list reverse | shallow reverse of any list |
containd_list_root_item_refs | Tree | list root item refs | callHost(listRootItemRefs) → number[] of top-level location root ids |
containd_list_sibling_item_refs | Tree | list sibling item refs | callHost(listSiblingItemRefs) → number[] same parent excluding self; use 0 for bound item |
containd_list_spectrum_magnitude | Statistics | list spectrum magnitude | Index 0 of [magnitude[], phase[]] spectrum list |
containd_list_spectrum_phase | Statistics | list spectrum phase | Index 1 of [magnitude[], phase[]] spectrum list (radians) |
containd_list_std_dev | Statistics | list std dev | sample standard deviation |
containd_list_sum | Statistics | list sum | sum of finite numeric list values |
containd_list_t_test | Statistics | list t test | independent two-sample Student t { t, p, df, n1, n2 } |
containd_list_t_test_one_sample | Statistics | list t test one sample | one-sample Student t { t, p, df, n } |
containd_list_t_test_paired | Statistics | list t test paired | paired Student t { t, p, df, n } |
containd_list_template_element_ids | Layouts | list template element ids | element ids on the item template (definition order) |
containd_list_template_element_ids_on_item | Layouts | list template element ids on item | callHost(listTemplateElementIds) with itemId — requires read.relatives when not bound item |
containd_list_to_csv | Files | list to csv | 1D list → single column; 2D list → rows. Optional headers list becomes the first CSV line. |
containd_list_transpose | Statistics | list transpose | rows→columns; ragged pads null; scalars = 1-cell rows |
containd_list_unique | Statistics | list unique | callHost(listUnique) → [uniqueValues[], indices[]] |
containd_list_units | Units | list units | returns array of unit catalog entries |
containd_list_values_indices_indices | Statistics | list values indices indices | Index 1 of an asort/unique result [values[], indices[]] — original 0-based positions. |
containd_list_values_indices_values | Statistics | list values indices values | Index 0 of an asort/unique result [values[], indices[]]. |
containd_lists_append | Lists | append | Append all items from the source list onto the target list in place |
containd_lists_concat | Lists | concat | Join two lists into a new list (does not modify the inputs) |
containd_local_state_exists | Data | local state exists | True when the key is present in the ephemeral session bag (getLocalState.found). |
containd_log_script | System | log script | callHost(logScript) |
containd_move_canvas_items | Canvas | move canvas items | callHost(moveCanvasItems) |
containd_move_item_to_trash | Items | move item to trash | silent delete to trash by default; requires write.item |
containd_multiline_line_at | Containd text helpers | multiline line at | Split multiline text by newline and return one line (0-based index) |
containd_mutate_graph | Advanced | mutate graph | Advanced escape hatch: raw mutateGraph operations JSON. Prefer friendly wire blocks for styling. |
containd_navigate | Navigation | navigate | callHost(navigate) |
containd_open_barcode_scanner | Device | open barcode scanner | callHost(openBarcodeScanner) → code |
containd_open_deep_link | Navigation | open deep link | callHost(openDeepLink) |
containd_open_link | Navigation | open link | callHost(openLink) |
containd_open_search | Navigation | open search | callHost(openSearch) |
containd_open_statistics | Statistics | open statistics | basic mode |
containd_open_statistics_category_property | Statistics | open statistics category property | category-property mode |
containd_open_statistics_item_field | Statistics | open statistics item field | item-field mode |
containd_open_website | Navigation | open website | callHost(openWebsite) |
containd_parent_category_property_has_value | Relatives | parent category property has value | True when the parent item resolves a value (stored or static default) for the property |
containd_parent_has_category | Relatives | parent has category | True when the bound item parent has the category id in categories[] |
containd_patch_graph_edge | Advanced | patch graph edge | Advanced escape hatch: patch one edge by source id + index with style JSON. Prefer set wire color / thickness / apply style patch. |
containd_pause_timer | System | pause timer | Pauses a running countdown or stopwatch (chip/modal stay; time freezes). |
containd_pdf_blocks_list | Files | pdf blocks list | List of PDF content blocks |
containd_pdf_document | Files | pdf document | PdfDocumentDefinition for savePdf |
containd_pdf_image | Files | pdf image | PDF image block (tempPath only; assetId not resolved at runtime) |
containd_pdf_page | Files | pdf page | Single PDF page with content blocks |
containd_pdf_pages_list | Files | pdf pages list | List of PDF pages |
containd_pdf_qr | Files | pdf qr | PDF QR code block |
containd_pdf_spacer | Files | pdf spacer | PDF vertical spacer block |
containd_pdf_text | Files | pdf text | PDF text block |
containd_plot_series_item | Statistics | plot series item | Build one trace for multi-series plot blocks (no host call). |
containd_query_canvas_items | Canvas | query canvas items | callHost(queryCanvasItems) |
containd_random_float | Math | random float | Sandbox Math.random — no host call |
containd_random_float_list | Math | random float list | Sandbox Math.random — array of n decimals (no host call) |
containd_random_int_list | Math | random int list | Sandbox Math.random — array of n inclusive ints (no host call) |
containd_read_category_property | Data | read category property | callHost(getItemData) categoryProperty |
containd_read_category_property_on_item | Data | read category property on item | callHost(getItemData) with itemId — accepts numeric id or ItemRef; requires read.relatives when not bound item |
containd_read_child_category_property | Relatives | read child category property | Calls host method getChildData. |
containd_read_child_item_field | Relatives | read child item field | Calls host method getChildData. |
containd_read_class_variable | Class | read class variable | pick a class-authored variable key |
containd_read_class_variable_on_item | Class | read class variable on item | callHost(getItemVariable) with itemId — class-authored key dropdown |
containd_read_clipboard | Device | read clipboard | callHost(readClipboardText) |
containd_read_item_field | Data | read item field | callHost(getItemData) itemField |
containd_read_item_field_on_item | Data | read item field on item | callHost(getItemData) with itemId — accepts numeric id or ItemRef; requires read.relatives when not bound item |
containd_read_item_metric | Data | read item metric | lazy-derived count or flag (imageCount, childCount, etc.) |
containd_read_item_metric_on_item | Data | read item metric on item | callHost(getItemMetric) with itemId — requires read.relatives when not bound item |
containd_read_item_variable | Data | read item variable | KEY is any string expression |
containd_read_item_variable_on_item | Data | read item variable on item | callHost(getItemVariable) with itemId |
containd_read_local_state | Data | read local state | ephemeral session bag (DEC-061) |
containd_read_parent_category_property | Relatives | read parent category property | Calls host method getParentData. |
containd_read_parent_item_field | Relatives | read parent item field | Calls host method getParentData. |
containd_read_sibling_category_property | Relatives | read sibling category property | Calls host method getSiblingData. |
containd_read_sibling_item_field | Relatives | read sibling item field | Calls host method getSiblingData. |
containd_read_svg_shape_settings_property | Data | read svg shape settings property | Resolved svgShapeSettings property on bound item |
containd_read_svg_shape_settings_property_on_item | Data | read svg shape settings property on item | Resolved svgShapeSettings property on target item |
containd_read_title_style_property | Data | read title style property | Resolved defaultTitleStyle property on bound item (defaults applied) |
containd_read_title_style_property_on_item | Data | read title style property on item | Resolved defaultTitleStyle property on target item |
containd_read_web_share_policies_property | Data | read web share policies property | Resolved webSharePolicies property on bound item (defaults applied) |
containd_read_web_share_policies_property_on_item | Data | read web share policies property on item | Resolved webSharePolicies property on target item |
containd_recreate_svg_thumbnail | Media | recreate svg thumbnail | TBD, host not implemented |
containd_reminder_property | System | reminder property | Read one field from a ReminderView (from “get reminder”). |
containd_remove_table_row | Table | remove table row | remove row at 0-based index and persist |
containd_report_export_options | Files | report export options | Partial ReportExportOptions for exportInventoryReport |
containd_request_display_refresh | System | request display refresh | callHost(requestDisplayRefresh) |
containd_resize_canvas_items | Canvas | resize canvas items | callHost(resizeCanvasItems) |
containd_resolve_layout_id | Layouts | resolve layout id | inverse of layout id for index; returns -1 when not found |
containd_resolve_layout_id_on_item | Layouts | resolve layout id on item | callHost(resolveLayoutId) with itemId — requires read.relatives when not bound item |
containd_resolve_layout_index | Layouts | resolve layout index | omit index to use live layoutInUse; returns stable layout id |
containd_resolve_layout_index_on_item | Layouts | resolve layout index on item | callHost(resolveLayoutIndex) with itemId — requires read.relatives when not bound item |
containd_resume_timer | System | resume timer | Continues a paused countdown or stopwatch. |
containd_return | Shared functions | return | Return from a shared function body |
containd_return_value | Shared functions | return value | Return a value from a shared function body |
containd_round_max_digits | Math | round max digits | Round to at most N significant digits (e.g. 37.658→37.7 at N=3). When |value| ≥ 10^N, Math.round only (keeps all integer digits). No host call. |
containd_run_class_api | Class | run class api | class Export script from dropdown |
containd_run_class_api_on_item | Class | run class api on item | callHost(runItemScript) with itemId — class Export from dropdown |
containd_run_custom_action | Actions | run custom action | open edit entry/form, navigate, dialogs, canvas (no canvas action node); requires scripts.invoke |
containd_run_custom_action_on_item | Actions | run custom action on item | callHost(dispatchBuiltin) with itemId — requires scripts.invoke |
containd_run_item_script | Class | run item script | false when id is not exposed; requires scripts.invoke |
containd_run_item_script_on_item | Class | run item script on item | use 0 for bound item; requires scripts.invoke + read.relatives for others |
containd_sanitize_filename | Files | sanitize filename | safe single-segment filename (illegal chars → _, accents stripped, default max 80). Optional extension (e.g. csv) and max length. |
containd_save_pdf | Files | save pdf | callHost(savePdf) |
containd_save_string_to_file | Files | save string to file | write UTF-8 text to a temp cache file and return its path. Share yes also needs share.invoke. Use with list/table to CSV for exports. |
containd_schedule_once | Canvas | schedule once | callHost(scheduleOnce) |
containd_schedule_reminder | System | schedule reminder | Creates a reminder and returns reminderId (string). Store it to update or delete later. |
containd_schedule_repeating | Canvas | schedule repeating | callHost(scheduleRepeating) |
containd_set_datetime_part | Date and time | set datetime part | keep other parts; month 1–12; returns ISO |
containd_set_element_type_on_bound_item | Items | set element type on bound item | same template; resets layout to 0 |
containd_set_element_type_on_item | Items | set element type on item | callHost(setElementType) with itemId — requires write.relatives when not bound item |
containd_set_layout_enabled | Layouts | set layout enabled | requires element allowLayoutEnableDisable; refuses last enabled; remounts if current disabled |
containd_set_layout_enabled_by_id | Layouts | set layout enabled by id | callHost(setLayoutEnabled) by layout id |
containd_set_layout_enabled_by_id_on_item | Layouts | set layout enabled by id on item | callHost(setLayoutEnabled) by id with itemId |
containd_set_layout_enabled_on_item | Layouts | set layout enabled on item | callHost(setLayoutEnabled) with itemId — requires write.relatives when not bound item |
containd_set_table_column | Table | set table column | values list length must equal row count; host coerces types |
containd_set_table_row | Table | set table row | overwrite row at 0-based index; same list shape as append |
containd_set_table_rows | Table | set table rows | replace all rows from a 2D list (inverse of table rows); host coerces types |
containd_set_wire_color | Graph | set wire color | Merge color onto this wire (needs write.graph). Does not change the peer item — use for appearance only. |
containd_set_wire_dash | Graph | set wire dash | Merge dash pattern onto this wire (needs write.graph). |
containd_set_wire_end_cap | Graph | set wire end cap | Merge target-end cap onto this wire (needs write.graph). |
containd_set_wire_start_cap | Graph | set wire start cap | Merge source-end cap onto this wire (needs write.graph). |
containd_set_wire_thickness | Graph | set wire thickness | Merge stroke width onto this wire (needs write.graph). |
containd_share_asset | Files | share asset | open the OS share sheet for any local file path/URI (from save string/PDF, screenshot, etc.). Requires share.invoke. |
containd_shared_function_param | Shared functions | shared function param | Read a parameter declared on this shared function (Setup tab) |
containd_show_alert | Dialogs | show alert | dismissible alert (no return) |
containd_show_choice | Dialogs | show choice | callHost(showChoice) → 'A' | 'B' | 'cancel' |
containd_show_color_picker | Dialogs | show color picker | callHost(showColorPicker) → color | null (cancel) |
containd_show_confirm | Dialogs | show confirm | callHost(showConfirm) → true | false |
containd_show_plot_from_lists | Statistics | show plot from lists | open fullscreen statistics chart from list data. |
containd_show_plot_from_lists_multi | Statistics | show plot from lists multi | multi-trace chart from list data. |
containd_show_plot_result | Statistics | show plot result | display a result from “compute plot …” blocks. |
containd_show_plot_table_column | Statistics | show plot table column | plot one table column. |
containd_show_plot_table_columns_xy | Statistics | show plot table columns xy | XY plot from two table columns. |
containd_show_svg_dialog | Dialogs | show svg dialog | dispatchBuiltin(showSvgDialog) — catalog SVG; colors override item text/border when provided |
containd_show_text_input | Dialogs | show text input | callHost(showTextInput) → text | null (cancel) |
containd_show_toast | Dialogs | show toast | non-blocking toast (no return) |
containd_show_xy_data_plot | Statistics | show xy data plot | line chart from list data (simple XY helper). |
containd_sort_all_canvas_items | Canvas | sort all canvas items | Sort tab: reorder every child of the bound canvas into a balanced grid. Spacing uses canvas defaults. Width/height appear only for “use custom size”. Match-size plug appears only for “match selected item” (numeric id or ItemRef). Not grid indices. |
containd_sort_canvas_items | Canvas | sort canvas items | Sort a subset. Plug an item-ref list (e.g. child item refs); leave empty = all children. Ids are persistent item ids from ItemRefs — not post-sort grid indices. |
containd_split_string | Containd text helpers | split string | Split a string into a list by delimiter (e.g. ";" or newline) |
containd_start_countdown_timer | System | start countdown timer | Starts a countdown on an item. |
containd_start_stopwatch | System | start stopwatch | Starts a stopwatch on an item (counts up). |
containd_stop_timer | System | stop timer | Stops and deletes the timer (UI closes). Also cancels a linked reminder if create reminder was used. |
containd_string_at_index | Containd text helpers | string at index | Safe list index read (returns empty string when missing) |
containd_strip_non_alphanumeric | Containd text helpers | strip non alphanumeric | Keep ASCII letters and digits only (A–Z, a–z, 0–9). Useful for ISO → RFC 6350 basic timestamps after dropping ms digits. |
containd_svg_shape_settings_patch | Data | svg shape settings patch | Partial svgShapeSettings patch — unchanged fields are not written |
containd_table_to_csv | Table | table to csv | CSV string for this table/fileTable property (pick property when item has multiple tables) |
containd_table_to_csv | Files | table to csv | CSV string for this table/fileTable property (pick property when item has multiple tables) |
containd_table_to_csv_on_item | Table | table to csv on item | callHost(tableToCsv) with itemId — accepts numeric id or ItemRef; requires read.relatives when not bound item |
containd_table_to_csv_on_item | Files | table to csv on item | callHost(tableToCsv) with itemId — accepts numeric id or ItemRef; requires read.relatives when not bound item |
containd_text | Text | Containd text (localizable) | Containd text: a localizable string from the template translations matrix. |
containd_timer_property | System | timer property | Read one field from a TimerView (from get timer or list/for-each). |
containd_title_style_patch | Data | title style patch | Partial defaultTitleStyle patch — unchanged fields are not written |
containd_trigger_canvas_thumbnail | Media | trigger canvas thumbnail | TBD, host not implemented |
containd_update_reminder | System | update reminder | Change an existing reminder. “unchanged” leaves that field alone (no value plug). |
containd_web_share_policies_patch | Data | web share policies patch | Partial webSharePolicies patch — unchanged fields are not written (public-share policies; openOnTap / openLinksInNewTab are web-only at runtime) |
containd_wire_at_index | Graph | wire at index | Opaque wire value from a wires list (null if missing). Feed into set wire … / peer item id / wire color blocks — not into ContaindData directly. |
containd_wire_color | Graph | wire color | Current wire color string; empty when unset. Pair with wire style is unset before first write. |
containd_wire_dash | Graph | wire dash | Dash pattern (solid / dashed / dotted); empty when unset. |
containd_wire_end_cap | Graph | wire end cap | Cap decoration at the target end; empty when unset. |
containd_wire_goes_out | Graph | wire goes out | True when the listed item is the source (outgoing) end of the wire; false when it is the target (incoming). |
containd_wire_list_last_index | Graph | wire list last index | Last valid index in a wires list (0 when empty). Plug into count-with “to” (from 0, by 1) then wire at index. |
containd_wire_list_length | Graph | wire list length | How many wires are in a wires-of-item list. Prefer last wire index as the “to” value in a count-with loop (inclusive). |
containd_wire_peer_item_id | Graph | wire peer item id | Numeric id of the other end of this wire (0 if unknown). Plug into ContaindData “… on item” sockets, or use outgoing/incoming graph item ids for neighbor walks. |
containd_wire_start_cap | Graph | wire start cap | Cap decoration at the source end; empty when unset. |
containd_wire_style_is_unset | Graph | wire style is unset | True when the wire has no style yet. Gate set-wire blocks on create so you style once without overwriting later user edits. |
containd_wire_style_patch | Graph | wire style patch | Build a partial style patch. Leave fields “unchanged” to skip them. Apply with apply style patch to wire. |
containd_wire_thickness | Graph | wire thickness | Current stroke width; 0 when unset. |
containd_write_category_property | Data | write category property | callHost(setItemData) |
containd_write_category_property_on_item | Data | write category property on item | callHost(setItemData) with itemId — requires write.relatives when not bound item |
containd_write_class_variable | Class | write class variable | pick a class-authored key; TYPE auto-fills from the Variables node |
containd_write_class_variable_on_item | Class | write class variable on item | callHost(setItemVariable) with itemId — class-authored key dropdown |
containd_write_clipboard | Device | write clipboard | callHost(writeClipboardText) |
containd_write_datetime_category_property | Date and time | write datetime category property | ISO 8601 datetime string |
containd_write_datetime_item_field | Date and time | write datetime item field | ISO 8601 datetime string |
containd_write_item_field | Data | write item field | callHost(setItemData) |
containd_write_item_field_on_item | Data | write item field on item | callHost(setItemData) with itemId — accepts numeric id or ItemRef; requires write.relatives when not bound item |
containd_write_item_variable | Data | write item variable | types include itemRef and list (Blockly lists round-trip as JSON arrays) |
containd_write_item_variable_on_item | Data | write item variable on item | callHost(setItemVariable) with itemId — accepts numeric id or ItemRef; type list stores a Blockly list |
containd_write_local_state | Data | write local state | not persisted to the item |
containd_write_sibling_category_property | Relatives | write sibling category property | callHost(setItemData) on each sibling up to limit — requires write.relatives |
containd_write_sibling_item_field | Relatives | write sibling item field | callHost(setItemData) on each sibling up to limit — requires write.relatives |
containd_write_svg_shape_settings_property | Data | write svg shape settings property | Write one svgShapeSettings property on bound item — boolean |
containd_write_svg_shape_settings_property_on_item | Data | write svg shape settings property on item | Write one svgShapeSettings property on target item — boolean |
containd_write_title_style_property | Data | write title style property | Write one defaultTitleStyle property on bound item — type depends on the selected field |
containd_write_title_style_property_on_item | Data | write title style property on item | Write one defaultTitleStyle property on target item — type depends on the selected field |
containd_write_web_share_policies_property | Data | write web share policies property | Write one webSharePolicies property on bound item — boolean (public-share web only) |
containd_write_web_share_policies_property_on_item | Data | write web share policies property on item | Write one webSharePolicies property on target item — boolean (public-share web only) |
controls_for | Loops | for | Count from A to B by step. |
controls_forEach | Loops | forEach | For each item in a list. |
controls_if | Logic | if | If / else control flow. |
controls_repeat_ext | Loops | repeat ext | Repeat n times. |
controls_whileUntil | Loops | whileUntil | While / until loop. |
lists_create_empty | Lists | create empty | Empty list. |
lists_create_with | Lists | create with | Create a list from items. |
lists_getIndex | Lists | getIndex | Get an item from a list. |
lists_getSublist | Lists | getSublist | Slice of a list. |
lists_indexOf | Lists | indexOf | Find an item in a list. |
lists_isEmpty | Lists | isEmpty | Whether a list is empty. |
lists_length | Lists | length | Length of a list. |
lists_repeat | Lists | repeat | List of one value repeated n times. |
lists_reverse | Lists | reverse | Reverse a list. |
lists_setIndex | Lists | setIndex | Set or insert an item in a list. |
lists_sort | Lists | sort | Sort a list. |
lists_split | Lists | split | Split text to list, or join list to text. |
logic_boolean | Logic | boolean | True or false literal. |
logic_compare | Logic | compare | Compare two values (=, ≠, <, >, ≤, ≥). |
logic_negate | Logic | negate | Boolean not. |
logic_null | Logic | null | Null literal. |
logic_operation | Logic | operation | And / or of two booleans. |
logic_ternary | Logic | ternary | Inline if: test ? then : else. |
math_arithmetic | Math | arithmetic | Add, subtract, multiply, divide, power. |
math_constant | Math | constant | π, e, golden ratio, sqrt(2), sqrt(½), ∞. |
math_constrain | Math | constrain | Clamp a number between bounds. |
math_modulo | Math | modulo | Remainder of division. |
math_number | Math | number | Number literal. |
math_random_int | Math | random int | Random integer in a range. |
math_round | Math | round | Round, round up, round down. |
math_single | Math | single | Sqrt, abs, negate, ln, log10, exp, trig inverses as listed on the block. |
math_trig | Math | trig | Sin, cos, tan, and inverses. |
text | Text | Stock text (not translated) | Stock string literal. Not translated. Prefer Containd text for user-visible copy. |
text_changeCase | Text | changeCase | Upper, lower, or title case. |
text_charAt | Text | charAt | Character at a position. |
text_getSubstring | Text | getSubstring | Slice of a string. |
text_indexOf | Text | indexOf | Find a substring (first/last). |
text_isEmpty | Text | isEmpty | Whether a string is empty. |
text_join | Text | join | Concatenate strings. |
text_length | Text | length | Length of a string. |
text_print | Text | Print to the Blockly console (not a host dialog). | |
text_replace | Text | replace | Replace text in a string. |
text_trim | Text | trim | Trim spaces. |
Source: app/lib/scripts/blocklyToolbox.ts and block defs under app/lib/scripts/.