check_script_indentation
Validate Ignition script indentation in its real execution context and return structured diagnostics to catch formatting or indentation issues.
Instructions
Check Ignition script indentation in its real execution context.
Args:
code: Script source, already decoded from view.json.
context: One of :data:SCRIPT_CONTEXTS.
indent_unit: auto, tab, 2 or 4.
Returns: Validity, indentation metadata and structured diagnostics.
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": {
"code": "<code>"
},
"name": "check_script_indentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| context | No | perspective_event | |
| indent_unit | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||