Bounds the number of tool calls, for one tool or in total.
{Nous.Eval.Scorers.ToolCount, tool: "search", max: 3}
{Nous.Eval.Scorers.ToolCount, max: 10}The score is named "tool_count" (all tools) or "tool_count.<tool>".
Options
:tool- count only this tool (default: every tool):min,:max- inclusive bounds; or:exactalone. At least one bound is required:include- which call outcomes count (default:all: failed and denied attempts still cost time and tokens):scope-:root(default),:treeor{:sub_agent, template}
On a truncated trace the observed count is a lower bound: a count already
above :max/:exact fails and a satisfied :min alone passes, anything
else is a :missing_trace error. details.count holds the count.