Class ToolSpecificationUtils

java.lang.Object
dev.langchain4j.internal.ToolSpecificationUtils

public class ToolSpecificationUtils extends Object
  • Method Details

    • isEffectivelyStrict

      public static boolean isEffectivelyStrict(ToolSpecification toolSpecification, boolean modelLevelStrict)
      Resolves whether a tool should use strict schema enforcement, falling back to the model-level default when no per-tool value is set.