add_niagara_custom_hlsl_input
Adds a typed input pin to a Niagara scratch pad module's Custom HLSL node, exposing the pin name for use in HLSL source code.
Instructions
Add a typed input pin to a scratch pad module's Custom HLSL node.
Types: float, int, bool, vec2/3/4, color, quat, matrix, position, ParameterMap, or any registered Niagara type. The pin's name is usable inside the HLSL source.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"system_path": "<system_path>",
"module_name": "<module_name>",
"pin_name": "<pin_name>"
},
"name": "add_niagara_custom_hlsl_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin_name | Yes | ||
| pin_type | No | float | |
| module_name | Yes | ||
| system_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |