vigiles API reference
    Preparing search index...

    Function parseToolCalls

    • Parse --output-format stream-json (the transcript: true output) into the tools the agent invoked, each joined to its result by id. Returns [] for the non-stream json output. The seam that lets a test assert on the agent's actions, not a brittle stdout substring.

      Parameters

      • streamJson: string

      Returns ToolCall[]