Neutrome SDK reference
    Preparing search index...

    Function extractToolCalls

    • Decodes every tool call emitted by a program.

      Parameters

      • program: Program

        Program to read.

      Returns ToolCallData[]

      One entry per tool call, in program order.

      const calls = extractToolCalls(response);
      if (calls.length > 0) return response;