vigiles API reference
    Preparing search index...

    Function toolUsedWith

    • Did the agent invoke a tool matching name whose INPUT satisfies inputMatcher — a tool-ARGUMENT predicate (DeepEval-style), e.g. an Edit that targeted the right file. The predicate behind assertToolUsedWith.

      Parameters

      • trace: Trace
      • name: string | RegExp
      • inputMatcher: (input: unknown) => boolean

      Returns boolean