• Extract tool call names from RunResult.newItems.

    Returns an array of tool names observed during the run. For function_call items the raw function name is returned; for hosted tool calls the canonical name (without the _call suffix) is used when it matches a known OpenAI hosted tool.

    Parameters

    • newItems: any[]

    Returns string[]

Generated using TypeDoc