Arize Phoenix TS
    Preparing search index...
    openAIToolCallToAnthropic: ZodPipe<
        ZodObject<
            {
                function: ZodObject<{ arguments: ZodString; name: ZodString }, $loose>;
                id: ZodString;
                type: ZodPipe<
                    ZodOptional<ZodLiteral<"function">>,
                    ZodTransform<"function", "function" | undefined>,
                >;
            },
            $strip,
        >,
        ZodTransform<
            { id: string; input: JSONLiteral; name: string; type: "tool_use" },
            {
                function: { arguments: string; name: string; [key: string]: unknown };
                id: string;
                type: "function";
            },
        >,
    > = ...

    Parse incoming object as an OpenAI tool call and immediately convert to Anthropic format