toolCalls
toolCalls(
session):ToolCallRecord[]
Flattens every recorded tool call from a normalized session.
Parameters
Section titled “Parameters”session
Section titled “session”Normalized session produced by a harness run.
Returns
Section titled “Returns”Example
Section titled “Example”const names = toolCalls(result.session).map((call) => call.name);
expect(names).toEqual(["lookupInvoice", "createRefund"]);