Assert how many tools matching name the agent invoked is within bounds — a budget invariant (e.g. { max: 1 } = "at most one Write", { exactly: 0 } = "never touched it"). Catches runaway loops and wasted work. Needs transcript.
name
{ max: 1 }
{ exactly: 0 }
transcript
Assert how many tools matching
namethe agent invoked is within bounds — a budget invariant (e.g.{ max: 1 }= "at most one Write",{ exactly: 0 }= "never touched it"). Catches runaway loops and wasted work. Needstranscript.