add_niagara_module
Insert a Niagara module into an emitter's script stack at a chosen index, for any script usage type like spawn or update.
Instructions
Add a module to an emitter's script usage stack.
Args: system_path: Path to the Niagara System asset emitter_name: Name of the target emitter module_path: Path to the module script asset (e.g. "/Niagara/Modules/Update/SolveForcesAndVelocity") script_usage: Target stack — EmitterSpawn, EmitterUpdate, ParticleSpawn, ParticleUpdate, SystemSpawn, SystemUpdate index: Position in the stack (-1 = append at end)
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>",
"emitter_name": "<emitter_name>",
"module_path": "<module_path>",
"script_usage": "<script_usage>"
},
"name": "add_niagara_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| module_path | Yes | ||
| system_path | Yes | ||
| emitter_name | Yes | ||
| script_usage | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |