Package ch.so.agi.mcp.analysis
Class ModelAnalysisTools
java.lang.Object
ch.so.agi.mcp.analysis.ModelAnalysisTools
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalyzeCompiled(@Nullable ch.interlis.ili2c.metamodel.TransferDescription td, String modelText) analyzeIliModel(String modelText, @Nullable ModelPurpose modelPurpose) analyzeIliModel(String modelText, @Nullable ModelPurpose modelPurpose, @Nullable String contextFqn) lexicalTerms(Map<String, Object> analysisResponse) toResponse(boolean valid, List<Map<String, Object>> messages, ModelAnalysisTools.AnalysisData data, ModelPurpose modelPurpose)
-
Constructor Details
-
ModelAnalysisTools
-
-
Method Details
-
analyzeIliModel
@McpTool(name="analyzeIliModel", description="Low-Level-Tool fuer gezielte strukturelle und semantische Inspektion eines vollstaendigen INTERLIS-Modells, z. B. Vererbung, Topic-Abhaengigkeiten, Association-Rollen, Constraints, Units, Metaattribute oder Typdetails. Nicht als allgemeines Qualitaetsgate oder Standardreview verwenden; dafuer reviewIliModel.", annotations=) public Map<String,Object> analyzeIliModel(@McpToolParam(description="INTERLIS-2 Modelltext",required=true) String modelText, @McpToolParam(description="Modellzweck: CAPTURE, PUBLICATION, VALIDATION oder UNKNOWN",required=false) @Nullable ModelPurpose modelPurpose, @McpToolParam(description="Optionaler exakter FQN einer Klasse, Struktur, Association oder View; liefert gezielten Authoring-Kontext",required=false) @Nullable String contextFqn) -
analyzeIliModel
-
analyzeCompiled
public ModelAnalysisTools.AnalysisData analyzeCompiled(@Nullable ch.interlis.ili2c.metamodel.TransferDescription td, String modelText) -
toResponse
public Map<String,Object> toResponse(boolean valid, List<Map<String, Object>> messages, ModelAnalysisTools.AnalysisData data, ModelPurpose modelPurpose) -
lexicalTerms
-