Class ToolSpecificationUtils
java.lang.Object
dev.langchain4j.internal.ToolSpecificationUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisEffectivelyStrict(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.
-
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.
-