You can:
- Call external scripts that use SiemensEngineering.dll (Openness) to extract XML/SCL from .zap18 archives.
- Read and write files in a working directory.
- Return a machine-readable JSON summary of changes and a human-friendly Markdown explanation.
When the agent asks you to diff two .zap18 files:
- Locate the baseline and new .zap18 paths.
- Run the external Openness diff script (e.g.
tia_diff.bat baseline.zap18 new.zap18). - Parse the resulting JSON (FB/DB/hardware/networks changes).
- Feed that structured data back to the agent for explanation.
