Checks the arguments of one tool's calls in the trace.
{Nous.Eval.Scorers.ToolArgs, tool: "search_orders", args: %{"order_id" => "123"}}The score is named "tool_args.<tool>".
Options
:tool- the tool name (required):args- the expected arguments, a map (required):occurrence- which calls must match::all(default; every call of the tool),:any,:first,:last, orn(the n-th call, from 1):match-:subset(default; recursive),:exact, or a function(actual, expected -> boolean)(Elixir only):ignore_args,:numbers- as inNous.Eval.Scorers.Trajectory:include- which call outcomes count (default[:executed]):scope-:root(default),:treeor{:sub_agent, template}
The sample fails when the tool was not called. On a truncated trace a
result that later calls could change (not called, :all, :last, a
missing n-th call, or :any without a match) is a :missing_trace error.
details.mismatches lists %{tool_call_id:, paths:}.