vigiles API reference
    Preparing search index...

    Function assertToolUsed

    • Assert the agent invoked a tool whose name matches name (string = exact, RegExp = test) — e.g. a skill ("Skill"), an MCP tool (/^mcp__github__/), or a subagent ("Task"). Needs transcript: true. The action invariant the skill/MCP/command surfaces are really about.

      Parameters

      • trace: Trace
      • name: string | RegExp

      Returns void