Class ToolCallValidityEvaluator
java.lang.Object
dev.dokimos.core.BaseEvaluator
dev.dokimos.core.evaluators.agents.ToolCallValidityEvaluator
- All Implemented Interfaces:
Evaluator
Validates that tool calls are syntactically correct per their JSON schema definitions.
This is a glass-box evaluator for tool proficiency that checks:
- Tool name exists in available tools
- All required parameters are present
- No unexpected parameters (if strict mode or
additionalProperties: false) - Parameter types match schema types
- Enum values match if specified
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for constructing the evaluator. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder for constructing the evaluator.Methods inherited from class dev.dokimos.core.BaseEvaluator
evaluate, evaluateAsync, evaluateAsync, name, threshold
-
Method Details
-
builder
Creates a new builder for constructing the evaluator.- Returns:
- a new builder
-