Decodes every tool call emitted by a program.
Program to read.
One entry per tool call, in program order.
const calls = extractToolCalls(response);if (calls.length > 0) return response; Copy
const calls = extractToolCalls(response);if (calls.length > 0) return response;
Decodes every tool call emitted by a program.