Package ch.so.agi.mcp.tools
Class XtfTools
java.lang.Object
ch.so.agi.mcp.tools.XtfTools
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XtfTools
-
-
Method Details
-
generateExampleXtf
@McpTool(name="generateExampleXtf", description="Erzeugt aus einem INTERLIS-Modell ein deterministisches Minimal-XTF. Validiert das erzeugte XTF einmal gegen die Modellregeln. generated bezeichnet nur die Erzeugung; validation beschreibt VALID, INVALID, ERROR oder NOT_RUN. Keine zweite routinemaessige validateXtf-Runde fuer dasselbe XTF. R\u00fcckgabe: {generated,xtfText?,messages,basketCount,objectCount,objectsByClass,skippedClasses,validation}. Das Tool schreibt keine Datei.", annotations=) public Map<String,Object> generateExampleXtf(@McpToolParam(description="INTERLIS-2 Modelltext",required=true) String modelText, @McpToolParam(description="Maximale Anzahl Objekte pro Klasse (Default 1)",required=false) @Nullable Integer maxObjectsPerClass) -
validateXtf
@McpTool(name="validateXtf", description="Validiert XTF gegen INTERLIS-Modell via ilivalidator. R\u00fcckgabe: {valid,messages,errorCount,warningCount}.", annotations=) public Map<String,Object> validateXtf(@McpToolParam(description="INTERLIS-2 Modelltext",required=true) String modelText, @McpToolParam(description="XTF-Inhalt als Text",required=true) String xtfText)
-