apply_niagara_scratch_pad
Commits scratch pad module edits to the original Niagara script, mirroring the Apply button action. Requires system path and module name.
Instructions
Commit a scratch pad module's edit-copy to the original script (Apply button).
Mirrors FNiagaraScratchPadScriptViewModel::ApplyChanges. Requires the Niagara System to be open in the editor so the view model exists.
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>"
},
"name": "apply_niagara_scratch_pad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module_name | Yes | ||
| system_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |