Locates every tool call emitted in a program.
Program to scan.
Tool call spans in program order.
Use extractToolCalls when the decoded id, name and arguments are wanted rather than instruction positions.
Locates every tool call emitted in a program.