rsnarsna
feat(alli-backend): Wave-1 standardization, standalone sys.env node & vault crypto, and DEC-014 security hardening
8628c98 Download specs/nodes/data.json from Rsnarsna/auto: direct link, hf CLI and curl.
- Browser
- Download file 65.1 kB
-
https://huggingface.co/spaces/Rsnarsna/auto/resolve/main/specs/nodes/data.json
- Command line
-
hf download hf://spaces/Rsnarsna/auto/specs/nodes/data.json
-
curl -L -o data.json https://huggingface.co/spaces/Rsnarsna/auto/resolve/main/specs/nodes/data.json
65.1 kB
[
{
"id": "core.variable",
"type": "core.variable",
"label": "Variable",
"category": "Variables & Types",
"version": "1.0.0",
"description": "Declare, store, or update a typed runtime variable.",
"icon": "Variable",
"inputs": [
{
"id": "in_val",
"name": "In",
"type": "any",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "Optional value to assign to this variable",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"parameters": [
{
"id": "var_name",
"name": "Variable Name",
"type": "string",
"default": "my_var",
"description": "Python variable identifier name",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "var_type",
"name": "Type Annotation",
"type": "select",
"default": "int",
"description": "Data type of the variable",
"options": [
{
"value": "int",
"label": "Integer (int)"
},
{
"value": "float",
"label": "Float (float)"
},
{
"value": "str",
"label": "String (str)"
},
{
"value": "bool",
"label": "Boolean (bool)"
},
{
"value": "list",
"label": "List (list)"
},
{
"value": "dict",
"label": "Dictionary (dict)"
}
],
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "literal_value",
"name": "Initial Literal Value",
"type": "string",
"default": "0",
"description": "Literal value when input socket is unconnected",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
}
],
"outputs": [
{
"id": "out_val",
"name": "Value",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "Current variable value emitted downstream",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "out",
"name": "Output Alias",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "val",
"name": "Value Alias",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "result",
"name": "Result Alias",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "name",
"name": "Variable Name",
"type": "str",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"settings": {
"timeout_seconds": 5.0,
"retry_count": 0,
"fallback_on_error": null,
"cache_policy": "session",
"continue_on_error": false,
"execute_once": false
},
"validation": null,
"execution": {
"handler_type": "pure_python",
"callable_path": null,
"code_template": "{var_name}: {var_type} = {in_val}"
},
"codegen": {
"template": "{var_name}: {var_type} = {in_val}",
"imports": [],
"requirements": [],
"variable_prefix": null
},
"dependencies": [],
"docs": {
"summary": "Python variable assignment, type annotation, and storage.",
"description": "Declares or updates a typed runtime variable in the workflow scope with optional type conversion and initial default fallback.",
"doc_url": "https://docs.python.org/3/reference/simple_stmts.html#assignment-statements",
"examples": [
{
"title": "Integer Declaration",
"inputs": {
"in_val": 42
},
"parameters": {
"var_name": "counter",
"var_type": "int",
"literal_value": "10"
},
"expected_output": {
"out_val": 42
},
"code_snippet": "counter: int = 42"
}
],
"complexity": "O(1)",
"time_complexity": "O(1)",
"space_complexity": "O(1)",
"complexity_assumptions": "Dictionary lookup/assignment in Python local or global frame",
"exceptions": [
"ValueError"
],
"possible_exceptions": [
{
"type": "ValueError",
"condition": "literal_value cannot be converted to var_type",
"severity": "error"
}
],
"since_version": "1.0.0"
},
"verification": {
"node_kind": "value_producer",
"is_deterministic": true,
"side_effects": [],
"minimal_config": {
"var_name": "x",
"var_type": "int",
"literal_value": "0"
},
"test_inputs": {
"in_val": 42
},
"expected_outputs": {
"out_val": 42
},
"expected_errors": null,
"capability_states": {
"extracted": true,
"node_generated": true,
"runtime_supported": true,
"codegen_supported": true
}
},
"capability_states": null,
"allow_var_positional": false,
"allow_var_keyword": false,
"var_positional_name": "args",
"var_keyword_name": "kwargs"
},
{
"id": "core.constant",
"type": "core.constant",
"label": "Constant",
"category": "Variables & Types",
"version": "1.0.0",
"description": "Declare an immutable literal constant.",
"icon": "Lock",
"inputs": [],
"parameters": [
{
"id": "const_name",
"name": "Constant Name",
"type": "string",
"default": "MY_CONST",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "const_type",
"name": "Type",
"type": "select",
"default": "int",
"description": "",
"options": [
{
"value": "int",
"label": "Integer (int)"
},
{
"value": "float",
"label": "Float (float)"
},
{
"value": "str",
"label": "String (str)"
},
{
"value": "bool",
"label": "Boolean (bool)"
},
{
"value": "list",
"label": "List (list)"
},
{
"value": "dict",
"label": "Dictionary (dict)"
}
],
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "literal_value",
"name": "Literal Value",
"type": "string",
"default": "100",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
}
],
"outputs": [
{
"id": "out",
"name": "Value",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "val",
"name": "Value Alias",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "result",
"name": "Result Alias",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"settings": {
"timeout_seconds": 5.0,
"retry_count": 0,
"fallback_on_error": null,
"cache_policy": "session",
"continue_on_error": false,
"execute_once": false
},
"validation": null,
"execution": null,
"codegen": {
"template": "{const_name} = {literal_value}",
"imports": [],
"requirements": [],
"variable_prefix": null
},
"dependencies": [],
"docs": {
"summary": "Immutable literal value representation.",
"description": "Emits a constant literal value of declared type (int, float, str, bool, list, or dict) into the dataflow graph.",
"doc_url": "https://docs.python.org/3/reference/lexical_analysis.html#literals",
"examples": [
{
"title": "Integer Constant",
"inputs": {},
"parameters": {
"const_name": "MAX_COUNT",
"const_type": "int",
"literal_value": "100"
},
"expected_output": {
"out": 100
},
"code_snippet": "MAX_COUNT = 100"
}
],
"complexity": "O(1)",
"time_complexity": "O(1)",
"space_complexity": "O(1)",
"complexity_assumptions": "Literal constant emission at runtime",
"exceptions": [
"ValueError"
],
"possible_exceptions": [
{
"type": "ValueError",
"condition": "literal_value string cannot be parsed into const_type",
"severity": "error"
}
],
"since_version": "1.0.0"
},
"verification": {
"node_kind": "value_producer",
"is_deterministic": true,
"side_effects": [],
"minimal_config": {
"const_name": "C",
"const_type": "int",
"literal_value": "100"
},
"test_inputs": {},
"expected_outputs": {
"out": 100
},
"expected_errors": null,
"capability_states": {
"extracted": true,
"node_generated": true,
"runtime_supported": true,
"codegen_supported": true
}
},
"capability_states": null,
"allow_var_positional": false,
"allow_var_keyword": false,
"var_positional_name": "args",
"var_keyword_name": "kwargs"
},
{
"id": "constant.int",
"type": "constant.int",
"label": "Integer Constant",
"category": "Variables & Types",
"version": "1.0.0",
"description": "Specialized integer constant value.",
"icon": "Lock",
"inputs": [],
"parameters": [
{
"id": "const_name",
"name": "Constant Name",
"type": "string",
"default": "CONST_INT",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "const_type",
"name": "Constant Type",
"type": "string",
"default": "int",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "literal_value",
"name": "Literal Value",
"type": "string",
"default": "42",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
}
],
"outputs": [
{
"id": "out",
"name": "Value",
"type": "int",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "val",
"name": "Value Alias",
"type": "int",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "result",
"name": "Result Alias",
"type": "int",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"settings": {
"timeout_seconds": 5.0,
"retry_count": 0,
"fallback_on_error": null,
"cache_policy": "session",
"continue_on_error": false,
"execute_once": false
},
"validation": null,
"execution": null,
"codegen": {
"template": "{const_name} = {literal_value}",
"imports": [],
"requirements": [],
"variable_prefix": null
},
"dependencies": [],
"docs": {
"summary": "Signed integer constant value.",
"description": "Emits an immutable Python signed integer numerical constant.",
"doc_url": "https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex",
"examples": [
{
"title": "Integer Constant Example",
"inputs": {},
"parameters": {
"const_name": "MY_INT",
"literal_value": "42",
"const_type": "int"
},
"expected_output": {
"out": 42
},
"code_snippet": "MY_INT = 42"
}
],
"complexity": "O(1)",
"time_complexity": "O(1)",
"space_complexity": "O(1)",
"complexity_assumptions": "Primitive integer constant allocation",
"exceptions": [
"ValueError"
],
"possible_exceptions": [
{
"type": "ValueError",
"condition": "literal_value is not a valid integer representation",
"severity": "error"
}
],
"since_version": "1.0.0"
},
"verification": {
"node_kind": "value_producer",
"is_deterministic": true,
"side_effects": [],
"minimal_config": {
"const_name": "C",
"literal_value": "42",
"const_type": "int"
},
"test_inputs": {},
"expected_outputs": {
"out": 42
},
"expected_errors": null,
"capability_states": {
"extracted": true,
"node_generated": true,
"runtime_supported": true,
"codegen_supported": true
}
},
"capability_states": null,
"allow_var_positional": false,
"allow_var_keyword": false,
"var_positional_name": "args",
"var_keyword_name": "kwargs"
},
{
"id": "constant.float",
"type": "constant.float",
"label": "Float Constant",
"category": "Variables & Types",
"version": "1.0.0",
"description": "Specialized float constant value.",
"icon": "Lock",
"inputs": [],
"parameters": [
{
"id": "const_name",
"name": "Constant Name",
"type": "string",
"default": "CONST_FLOAT",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "const_type",
"name": "Constant Type",
"type": "string",
"default": "float",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "literal_value",
"name": "Literal Value",
"type": "string",
"default": "3.14159",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
}
],
"outputs": [
{
"id": "out",
"name": "Value",
"type": "float",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "val",
"name": "Value Alias",
"type": "float",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "result",
"name": "Result Alias",
"type": "float",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"settings": {
"timeout_seconds": 5.0,
"retry_count": 0,
"fallback_on_error": null,
"cache_policy": "session",
"continue_on_error": false,
"execute_once": false
},
"validation": null,
"execution": null,
"codegen": {
"template": "{const_name} = {literal_value}",
"imports": [],
"requirements": [],
"variable_prefix": null
},
"dependencies": [],
"docs": {
"summary": "Floating-point numeric constant value.",
"description": "Emits an immutable IEEE 754 double-precision floating-point constant.",
"doc_url": "https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex",
"examples": [
{
"title": "Float Constant Example",
"inputs": {},
"parameters": {
"const_name": "MY_FLOAT",
"literal_value": "3.14159",
"const_type": "float"
},
"expected_output": {
"out": 3.14159
},
"code_snippet": "MY_FLOAT = 3.14159"
}
],
"complexity": "O(1)",
"time_complexity": "O(1)",
"space_complexity": "O(1)",
"complexity_assumptions": "IEEE 754 double-precision constant allocation",
"exceptions": [
"ValueError"
],
"possible_exceptions": [
{
"type": "ValueError",
"condition": "literal_value cannot be parsed into a float",
"severity": "error"
}
],
"since_version": "1.0.0"
},
"verification": {
"node_kind": "value_producer",
"is_deterministic": true,
"side_effects": [],
"minimal_config": {
"const_name": "C",
"literal_value": "3.14159",
"const_type": "float"
},
"test_inputs": {},
"expected_outputs": {
"out": 3.14159
},
"expected_errors": null,
"capability_states": {
"extracted": true,
"node_generated": true,
"runtime_supported": true,
"codegen_supported": true
}
},
"capability_states": null,
"allow_var_positional": false,
"allow_var_keyword": false,
"var_positional_name": "args",
"var_keyword_name": "kwargs"
},
{
"id": "constant.str",
"type": "constant.str",
"label": "String Constant",
"category": "Variables & Types",
"version": "1.0.0",
"description": "Specialized string constant value.",
"icon": "Lock",
"inputs": [],
"parameters": [
{
"id": "const_name",
"name": "Constant Name",
"type": "string",
"default": "CONST_STR",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "const_type",
"name": "Constant Type",
"type": "string",
"default": "str",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "literal_value",
"name": "Literal Value",
"type": "string",
"default": "hello",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
}
],
"outputs": [
{
"id": "out",
"name": "Value",
"type": "str",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "val",
"name": "Value Alias",
"type": "str",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "result",
"name": "Result Alias",
"type": "str",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"settings": {
"timeout_seconds": 5.0,
"retry_count": 0,
"fallback_on_error": null,
"cache_policy": "session",
"continue_on_error": false,
"execute_once": false
},
"validation": null,
"execution": null,
"codegen": {
"template": "{const_name} = {literal_value}",
"imports": [],
"requirements": [],
"variable_prefix": null
},
"dependencies": [],
"docs": {
"summary": "Text string literal constant.",
"description": "Emits an immutable Unicode UTF-8 string literal constant.",
"doc_url": "https://docs.python.org/3/library/stdtypes.html#text-sequence-type-str",
"examples": [
{
"title": "String Constant Example",
"inputs": {},
"parameters": {
"const_name": "MY_STR",
"literal_value": "hello",
"const_type": "str"
},
"expected_output": {
"out": "hello"
},
"code_snippet": "MY_STR = 'hello'"
}
],
"complexity": "O(1)",
"time_complexity": "O(1)",
"space_complexity": "O(N)",
"complexity_assumptions": "N is string character count",
"exceptions": [],
"possible_exceptions": [],
"since_version": "1.0.0"
},
"verification": {
"node_kind": "value_producer",
"is_deterministic": true,
"side_effects": [],
"minimal_config": {
"const_name": "C",
"literal_value": "hello",
"const_type": "str"
},
"test_inputs": {},
"expected_outputs": {
"out": "hello"
},
"expected_errors": null,
"capability_states": {
"extracted": true,
"node_generated": true,
"runtime_supported": true,
"codegen_supported": true
}
},
"capability_states": null,
"allow_var_positional": false,
"allow_var_keyword": false,
"var_positional_name": "args",
"var_keyword_name": "kwargs"
},
{
"id": "constant.bool",
"type": "constant.bool",
"label": "Boolean Constant",
"category": "Variables & Types",
"version": "1.0.0",
"description": "Specialized boolean constant value.",
"icon": "Lock",
"inputs": [],
"parameters": [
{
"id": "const_name",
"name": "Constant Name",
"type": "string",
"default": "CONST_BOOL",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "const_type",
"name": "Constant Type",
"type": "string",
"default": "bool",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "literal_value",
"name": "Literal Value",
"type": "string",
"default": "True",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
}
],
"outputs": [
{
"id": "out",
"name": "Value",
"type": "bool",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "val",
"name": "Value Alias",
"type": "bool",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "result",
"name": "Result Alias",
"type": "bool",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"settings": {
"timeout_seconds": 5.0,
"retry_count": 0,
"fallback_on_error": null,
"cache_policy": "session",
"continue_on_error": false,
"execute_once": false
},
"validation": null,
"execution": null,
"codegen": {
"template": "{const_name} = {literal_value}",
"imports": [],
"requirements": [],
"variable_prefix": null
},
"dependencies": [],
"docs": {
"summary": "Boolean truth value constant.",
"description": "Emits an immutable boolean truth value constant (True or False).",
"doc_url": "https://docs.python.org/3/library/stdtypes.html#boolean-type-bool",
"examples": [
{
"title": "Boolean Constant Example",
"inputs": {},
"parameters": {
"const_name": "MY_BOOL",
"literal_value": "True",
"const_type": "bool"
},
"expected_output": {
"out": true
},
"code_snippet": "MY_BOOL = True"
}
],
"complexity": "O(1)",
"time_complexity": "O(1)",
"space_complexity": "O(1)",
"complexity_assumptions": "Singleton boolean instance reference",
"exceptions": [],
"possible_exceptions": [],
"since_version": "1.0.0"
},
"verification": {
"node_kind": "value_producer",
"is_deterministic": true,
"side_effects": [],
"minimal_config": {
"const_name": "C",
"literal_value": "True",
"const_type": "bool"
},
"test_inputs": {},
"expected_outputs": {
"out": true
},
"expected_errors": null,
"capability_states": {
"extracted": true,
"node_generated": true,
"runtime_supported": true,
"codegen_supported": true
}
},
"capability_states": null,
"allow_var_positional": false,
"allow_var_keyword": false,
"var_positional_name": "args",
"var_keyword_name": "kwargs"
},
{
"id": "core.type_cast",
"type": "core.type_cast",
"label": "Type Conversion",
"category": "Variables & Types",
"version": "1.0.0",
"description": "Explicitly cast data from one type to another.",
"icon": "Repeat",
"inputs": [
{
"id": "value",
"name": "Input Value",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"parameters": [
{
"id": "target_type",
"name": "Target Type",
"type": "select",
"default": "int",
"description": "",
"options": [
{
"value": "int",
"label": "Integer (int)"
},
{
"value": "float",
"label": "Float (float)"
},
{
"value": "str",
"label": "String (str)"
},
{
"value": "bool",
"label": "Boolean (bool)"
},
{
"value": "list",
"label": "List (list)"
},
{
"value": "dict",
"label": "Dictionary (dict)"
},
{
"value": "json",
"label": "JSON (json)"
}
],
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
}
],
"outputs": [
{
"id": "result",
"name": "Result",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"settings": {
"timeout_seconds": 5.0,
"retry_count": 0,
"fallback_on_error": null,
"cache_policy": "session",
"continue_on_error": false,
"execute_once": false
},
"validation": null,
"execution": null,
"codegen": {
"template": "{result} = {target_type}({value})",
"imports": [],
"requirements": [],
"variable_prefix": null
},
"dependencies": [],
"docs": {
"summary": "Python primitive type casting.",
"description": "Explicitly converts incoming values to a target primitive data type (int, float, str, bool).",
"doc_url": "https://docs.python.org/3/library/functions.html",
"examples": [
{
"title": "String to Integer Cast",
"inputs": {
"value": "42"
},
"parameters": {
"target_type": "int"
},
"expected_output": {
"result": 42
},
"code_snippet": "result = int('42')"
}
],
"complexity": "O(1)",
"time_complexity": "O(1)",
"space_complexity": "O(1)",
"complexity_assumptions": "Primitive conversions take O(1); string casting takes O(N) characters",
"exceptions": [
"ValueError",
"TypeError"
],
"possible_exceptions": [
{
"type": "ValueError",
"condition": "Value cannot be parsed into target type (e.g. int('abc'))",
"severity": "error"
},
{
"type": "TypeError",
"condition": "Incompatible operand type for casting",
"severity": "error"
}
],
"since_version": "1.0.0"
},
"verification": {
"node_kind": "value_producer",
"is_deterministic": true,
"side_effects": [],
"minimal_config": {
"target_type": "int"
},
"test_inputs": {
"value": "42"
},
"expected_outputs": {
"result": 42
},
"expected_errors": {
"invalid_literal": "ValueError"
},
"capability_states": {
"extracted": true,
"node_generated": true,
"runtime_supported": true,
"codegen_supported": true
}
},
"capability_states": null,
"allow_var_positional": false,
"allow_var_keyword": false,
"var_positional_name": "args",
"var_keyword_name": "kwargs"
},
{
"id": "data.list",
"type": "data.list",
"label": "List",
"category": "Data Structures",
"version": "1.0.0",
"description": "Ordered mutable collection of items.",
"icon": "List",
"inputs": [
{
"id": "items",
"name": "Items",
"type": "list",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "item",
"name": "Item",
"type": "any",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "index",
"name": "Index",
"type": "int",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"parameters": [
{
"id": "operation",
"name": "Operation",
"type": "select",
"default": "create",
"description": "",
"options": [
{
"value": "create",
"label": "Create List"
},
{
"value": "append",
"label": "Append Element"
},
{
"value": "get_index",
"label": "Get Element by Index"
},
{
"value": "length",
"label": "Get Length (len)"
}
],
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "initial_items",
"name": "Initial Items",
"type": "expression",
"default": "[10, 20, 30]",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "index",
"name": "Index",
"type": "number",
"default": 0,
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
}
],
"outputs": [
{
"id": "list_out",
"name": "List Out",
"type": "list",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "result",
"name": "Result",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "val",
"name": "Value Alias",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "item",
"name": "Item",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "length",
"name": "Length",
"type": "int",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "count",
"name": "Count",
"type": "int",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "out",
"name": "Output Alias",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"settings": {
"timeout_seconds": 5.0,
"retry_count": 0,
"fallback_on_error": null,
"cache_policy": "session",
"continue_on_error": false,
"execute_once": false
},
"validation": null,
"execution": null,
"codegen": {
"template": "{result} = {items}",
"imports": [],
"requirements": [],
"variable_prefix": null
},
"dependencies": [],
"docs": {
"summary": "Ordered mutable sequence operations.",
"description": "Constructs and manipulates an ordered sequence of elements with creation, append, indexing, and slicing operations.",
"doc_url": "https://docs.python.org/3/tutorial/datastructures.html#more-on-lists",
"examples": [
{
"title": "List Creation",
"inputs": {
"items": [
1,
2,
3
]
},
"parameters": {
"operation": "create",
"initial_items": "[1, 2]",
"index": 0
},
"expected_output": {
"list_out": [
1,
2,
3
],
"result": [
1,
2,
3
],
"length": 3
},
"code_snippet": "my_list = [1, 2, 3]"
}
],
"complexity": "O(N)",
"time_complexity": "O(1)",
"space_complexity": "O(N)",
"complexity_assumptions": "O(1) append/pop/index; O(N) copy/insert/slice on list of size N",
"exceptions": [
"IndexError",
"ValueError"
],
"possible_exceptions": [
{
"type": "IndexError",
"condition": "Index is outside valid list bounds",
"severity": "error"
},
{
"type": "ValueError",
"condition": "Invalid initial_items literal syntax",
"severity": "error"
}
],
"since_version": "1.0.0"
},
"verification": {
"node_kind": "value_producer",
"is_deterministic": true,
"side_effects": [],
"minimal_config": {
"operation": "create",
"initial_items": "[]",
"index": 0
},
"test_inputs": {
"items": [
1,
2,
3
]
},
"expected_outputs": {
"length": 3
},
"expected_errors": null,
"capability_states": {
"extracted": true,
"node_generated": true,
"runtime_supported": true,
"codegen_supported": true
}
},
"capability_states": null,
"allow_var_positional": false,
"allow_var_keyword": false,
"var_positional_name": "args",
"var_keyword_name": "kwargs"
},
{
"id": "data.dict",
"type": "data.dict",
"label": "Dictionary",
"category": "Data Structures",
"version": "1.0.0",
"description": "Key-value mapping dictionary.",
"icon": "Database",
"inputs": [
{
"id": "dict_in",
"name": "Dictionary In",
"type": "dict",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "key",
"name": "Key",
"type": "str",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "value",
"name": "Value",
"type": "any",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"parameters": [
{
"id": "operation",
"name": "Operation",
"type": "select",
"default": "create",
"description": "",
"options": [
{
"value": "create",
"label": "Create Dict"
},
{
"value": "get",
"label": "Get Value by Key"
},
{
"value": "set",
"label": "Set Key-Value Pair"
},
{
"value": "keys",
"label": "Get Keys List"
},
{
"value": "values",
"label": "Get Values List"
}
],
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "initial_dict",
"name": "Initial Dict",
"type": "expression",
"default": "{\"status\": \"ok\", \"code\": 200}",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "key",
"name": "Key",
"type": "string",
"default": "status",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
}
],
"outputs": [
{
"id": "dict_out",
"name": "Dict Out",
"type": "dict",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "result",
"name": "Result",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "val",
"name": "Value Alias",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "keys",
"name": "Keys",
"type": "list",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "values",
"name": "Values List",
"type": "list",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "length",
"name": "Length",
"type": "int",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "out",
"name": "Output Alias",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"settings": {
"timeout_seconds": 5.0,
"retry_count": 0,
"fallback_on_error": null,
"cache_policy": "session",
"continue_on_error": false,
"execute_once": false
},
"validation": null,
"execution": null,
"codegen": {
"template": "{dict_out} = {initial_dict}",
"imports": [],
"requirements": [],
"variable_prefix": null
},
"dependencies": [],
"docs": {
"summary": "Key-value mapping data structure.",
"description": "Constructs and manages key-value associative mappings with key lookups, insertions, and key extractions.",
"doc_url": "https://docs.python.org/3/tutorial/datastructures.html#dictionaries",
"examples": [
{
"title": "Dict Creation",
"inputs": {
"dict_in": {
"k": "v"
}
},
"parameters": {
"operation": "create",
"initial_dict": "{\"a\": 1}",
"key": "k"
},
"expected_output": {
"dict_out": {
"k": "v"
},
"result": {
"k": "v"
},
"keys": [
"k"
]
},
"code_snippet": "my_dict = {'k': 'v'}"
}
],
"complexity": "O(1)",
"time_complexity": "O(1)",
"space_complexity": "O(N)",
"complexity_assumptions": "O(1) average lookup/insert in hash table; O(N) under hash collision",
"exceptions": [
"KeyError",
"ValueError"
],
"possible_exceptions": [
{
"type": "KeyError",
"condition": "Key does not exist in dictionary",
"severity": "error"
},
{
"type": "ValueError",
"condition": "Invalid initial_dict JSON syntax",
"severity": "error"
}
],
"since_version": "1.0.0"
},
"verification": {
"node_kind": "value_producer",
"is_deterministic": true,
"side_effects": [],
"minimal_config": {
"operation": "create",
"initial_dict": "{}",
"key": ""
},
"test_inputs": {
"dict_in": {
"k": "v"
}
},
"expected_outputs": {
"keys": [
"k"
]
},
"expected_errors": null,
"capability_states": {
"extracted": true,
"node_generated": true,
"runtime_supported": true,
"codegen_supported": true
}
},
"capability_states": null,
"allow_var_positional": false,
"allow_var_keyword": false,
"var_positional_name": "args",
"var_keyword_name": "kwargs"
},
{
"id": "data.tuple",
"type": "data.tuple",
"label": "Tuple",
"category": "Data Structures",
"version": "1.0.0",
"description": "Immutable sequence of items.",
"icon": "Layers",
"inputs": [
{
"id": "item_1",
"name": "Item 1",
"type": "any",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "item_2",
"name": "Item 2",
"type": "any",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "item_3",
"name": "Item 3",
"type": "any",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "tuple_in",
"name": "Tuple In",
"type": "tuple",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"parameters": [
{
"id": "tuple_expr",
"name": "Expression",
"type": "string",
"default": "(1, 2, 3)",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
}
],
"outputs": [
{
"id": "tuple_out",
"name": "Tuple Out",
"type": "tuple",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "item_1",
"name": "Item 1",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "item_2",
"name": "Item 2",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "result",
"name": "Result Alias",
"type": "tuple",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "val",
"name": "Value Alias",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "length",
"name": "Length",
"type": "int",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "out",
"name": "Output Alias",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"settings": {
"timeout_seconds": 5.0,
"retry_count": 0,
"fallback_on_error": null,
"cache_policy": "session",
"continue_on_error": false,
"execute_once": false
},
"validation": null,
"execution": null,
"codegen": {
"template": "{tuple_out} = ({item_1}, {item_2}, {item_3})",
"imports": [],
"requirements": [],
"variable_prefix": null
},
"dependencies": [],
"docs": {
"summary": "Immutable sequence constructor.",
"description": "Creates an immutable sequence tuple from provided item sockets or literal expressions.",
"doc_url": "https://docs.python.org/3/tutorial/datastructures.html#tuples-and-sequences",
"examples": [
{
"title": "Tuple Packing",
"inputs": {
"item_1": 10,
"item_2": "abc",
"item_3": true
},
"parameters": {
"tuple_expr": "(1, 2)"
},
"expected_output": {
"tuple_out": [
10,
"abc",
true
],
"item_1": 10,
"item_2": "abc"
},
"code_snippet": "t = (10, 'abc', True)"
}
],
"complexity": "O(1)",
"time_complexity": "O(1)",
"space_complexity": "O(N)",
"complexity_assumptions": "N is number of elements packaged into tuple",
"exceptions": [
"ValueError"
],
"possible_exceptions": [
{
"type": "ValueError",
"condition": "Invalid tuple_expr syntax",
"severity": "error"
}
],
"since_version": "1.0.0"
},
"verification": {
"node_kind": "value_producer",
"is_deterministic": true,
"side_effects": [],
"minimal_config": {
"tuple_expr": "()"
},
"test_inputs": {
"item_1": 10,
"item_2": "abc",
"item_3": true
},
"expected_outputs": {
"tuple_out": [
10,
"abc",
true
]
},
"expected_errors": null,
"capability_states": {
"extracted": true,
"node_generated": true,
"runtime_supported": true,
"codegen_supported": true
}
},
"capability_states": null,
"allow_var_positional": false,
"allow_var_keyword": false,
"var_positional_name": "args",
"var_keyword_name": "kwargs"
},
{
"id": "data.set",
"type": "data.set",
"label": "Set",
"category": "Data Structures",
"version": "1.0.0",
"description": "Unordered collection of unique items.",
"icon": "Filter",
"inputs": [
{
"id": "set_a",
"name": "Set A",
"type": "set",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "set_b",
"name": "Set B",
"type": "set",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "element",
"name": "Element",
"type": "any",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "item",
"name": "Item Alias",
"type": "any",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"parameters": [
{
"id": "operation",
"name": "Operation",
"type": "select",
"default": "create",
"description": "",
"options": [
{
"value": "create",
"label": "Create Set"
},
{
"value": "add",
"label": "Add Element"
},
{
"value": "union",
"label": "Union (set_a | set_b)"
},
{
"value": "intersection",
"label": "Intersection (set_a & set_b)"
},
{
"value": "difference",
"label": "Difference (set_a - set_b)"
}
],
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "initial_elements",
"name": "Initial Elements",
"type": "expression",
"default": "[1, 2, 3, 2, 1]",
"description": "",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
}
],
"outputs": [
{
"id": "set_out",
"name": "Set Out",
"type": "set",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "cardinality",
"name": "Cardinality",
"type": "int",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "result",
"name": "Result Alias",
"type": "set",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "val",
"name": "Value Alias",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "size",
"name": "Size",
"type": "int",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "is_member",
"name": "Is Member",
"type": "bool",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
},
{
"id": "out",
"name": "Output Alias",
"type": "any",
"required": true,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"settings": {
"timeout_seconds": 5.0,
"retry_count": 0,
"fallback_on_error": null,
"cache_policy": "session",
"continue_on_error": false,
"execute_once": false
},
"validation": null,
"execution": null,
"codegen": {
"template": "{set_out} = set({initial_elements})",
"imports": [],
"requirements": [],
"variable_prefix": null
},
"dependencies": [],
"docs": {
"summary": "Unordered collection of unique elements.",
"description": "Maintains an unordered collection of distinct elements supporting union, intersection, and element addition.",
"doc_url": "https://docs.python.org/3/tutorial/datastructures.html#sets",
"examples": [
{
"title": "Set Creation",
"inputs": {},
"parameters": {
"operation": "create",
"initial_elements": "[1, 2, 3]"
},
"expected_output": {
"cardinality": 3
},
"code_snippet": "s = {1, 2, 3}"
}
],
"complexity": "O(1)",
"time_complexity": "O(1)",
"space_complexity": "O(N)",
"complexity_assumptions": "O(1) average hash lookup/insertion; O(N) for set union/intersection",
"exceptions": [
"TypeError"
],
"possible_exceptions": [
{
"type": "TypeError",
"condition": "Attempting to insert an unhashable mutable object into set",
"severity": "error"
}
],
"since_version": "1.0.0"
},
"verification": {
"node_kind": "value_producer",
"is_deterministic": true,
"side_effects": [],
"minimal_config": {
"operation": "create",
"initial_elements": "[1, 2, 3]"
},
"test_inputs": {},
"expected_outputs": {
"cardinality": 3
},
"expected_errors": null,
"capability_states": {
"extracted": true,
"node_generated": true,
"runtime_supported": true,
"codegen_supported": true
}
},
"capability_states": null,
"allow_var_positional": false,
"allow_var_keyword": false,
"var_positional_name": "args",
"var_keyword_name": "kwargs"
}
]
[
{
"id": "core.variable",
"type": "core.variable",
"label": "Variable",
"category": "Variables & Types",
"version": "1.0.0",
"description": "Declare, store, or update a typed runtime variable.",
"icon": "Variable",
"inputs": [
{
"id": "in_val",
"name": "In",
"type": "any",
"required": false,
"multiple": false,
"kind": "data",
"default_value": null,
"description": "Optional value to assign to this variable",
"is_var_positional": false,
"is_var_keyword": false,
"keyword_key": null
}
],
"parameters": [
{
"id": "var_name",
"name": "Variable Name",
"type": "string",
"default": "my_var",
"description": "Python variable identifier name",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "var_type",
"name": "Type Annotation",
"type": "select",
"default": "int",
"description": "Data type of the variable",
"options": [
{
"value": "int",
"label": "Integer (int)"
},
{
"value": "float",
"label": "Float (float)"
},
{
"value": "str",
"label": "String (str)"
},
{
"value": "bool",
"label": "Boolean (bool)"
},
{
"value": "list",
"label": "List (list)"
},
{
"value": "dict",
"label": "Dictionary (dict)"
}
],
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null
},
{
"id": "literal_value",
"name": "Initial Literal Value",
"type": "string",
"default": "0",
"description": "Literal value when input socket is unconnected",
"options": null,
"min_value": null,
"max_value": null,
"required": true,
"step": null,
"precision": null,
"regex": null,
"enum_values": null,
"widget": null,
"is_identifier": null