ToolCallJudgeConfig
Configuration for the deterministic tool-call judge.
Example
Section titled “Example”const judge = ToolCallJudge({ ordered: true, allowExtra: false,});Extends
Section titled “Extends”ToolCallScorerConfig
Properties
Section titled “Properties”allowExtras?
Section titled “allowExtras?”
optionalallowExtras?:boolean
Allow actual output/tool calls to contain extra fields or calls.
Inherited from
Section titled “Inherited from”ToolCallScorerConfig.allowExtras
debug?
Section titled “debug?”
optionaldebug?:boolean
Emit matcher debug details to the console.
Inherited from
Section titled “Inherited from”ToolCallScorerConfig.debug
fuzzyOptions?
Section titled “fuzzyOptions?”
optionalfuzzyOptions?:FuzzyMatchOptions
Options used when argument matching is fuzzy.
Inherited from
Section titled “Inherited from”ToolCallScorerConfig.fuzzyOptions
ordered?
Section titled “ordered?”
optionalordered?:boolean
Require expected tools to appear in the configured order.
Inherited from
Section titled “Inherited from”ToolCallScorerConfig.ordered
params?
Section titled “params?”
optionalparams?:MatchStrategy
Matching strategy for expected tool arguments.
Inherited from
Section titled “Inherited from”ToolCallScorerConfig.params
requireAll?
Section titled “requireAll?”
optionalrequireAll?:boolean
Require every expected field or tool to match.
Inherited from
Section titled “Inherited from”ToolCallScorerConfig.requireAll