generate_ignition_script
Generates a scope-aware Ignition script scaffold with the correct context comment and TODO marker, so you can start coding gateway, Perspective, or tag event scripts.
Instructions
Generate a scope-aware script scaffold.
Args:
description: What the script should do, in plain language.
scope: Script scope (gateway, perspective_component, tag_event, ...).
template: Optional template hint such as tag_change or timer.
Returns: A scaffold with the correct context comment and a TODO marker.
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": {
"description": "<description>"
},
"name": "generate_ignition_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | gateway | |
| template | No | ||
| description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||