Thanks for filing the feedback report.
Just in case, if your intent is to find the ToolOutput entry for a tool call in a transcript (Transcript), you can rely on the order – The entries are ordered so that the first tool call in the transcript's toolCalls collection corresponds to the first tool output.
Concretely, assuming you have toolCallsValue holding the value of the toolCalls entry, and toolOutputEntries holding all toolOutput entries in order, then toolCallsValue[i] should be the tool call that generates toolOutputEntries[i].
Best,
——
Ziqiao Chen
Worldwide Developer Relations.