Class AnalyzeFileTool
java.lang.Object
com.github._1c_syntax.bsl.languageserver.mcp.tools.AnalyzeFileTool
MCP-инструмент: вычислить диагностики для одного файла.
Переиспользует DocumentContext.getDiagnostics() — тот же путь, что и LSP-режим.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordРезультат анализа файла. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AnalyzeFileTool
-
-
Method Details
-
analyzeFile
@McpTool(name="analyze_file", description="Run BSL diagnostics for a single 1C/OneScript file and return the list of issues.", generateOutputSchema=false) public AnalyzeFileTool.Result analyzeFile(@McpToolParam(required=true,description="Path to the .bsl/.os file (absolute or relative to the working directory).") String file)
-