set_property_change_script
Creates or replaces a property-change script for a component property in an Ignition Perspective view. Supports dry-run previews, confirmation, and enable controls for safe updates.
Instructions
Create or replace a property-change script.
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": {
"view_path": "<view_path>",
"component": "<component>",
"property": "<property>",
"script": "<script>"
},
"name": "set_property_change_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| confirm | No | ||
| dry_run | No | ||
| enabled | No | ||
| project | No | ||
| property | Yes | ||
| component | Yes | ||
| view_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||