anthropicToolCallToOpenAI: ZodEffects<
    ZodObject<
        {
            id: ZodString;
            input: ZodType<JSONLiteral, ZodTypeDef, JSONLiteral>;
            name: ZodString;
            type: ZodLiteral<"tool_use">;
        },
        "strip",
        ZodTypeAny,
        { id: string; input: JSONLiteral; name: string; type: "tool_use" },
        { id: string; input: JSONLiteral; name: string; type: "tool_use" },
    >,
    {
        function: { arguments: string; name: string } & {
            [k: string]: unknown;
        };
        id: string;
        type: "function";
    },
    { id: string; input: JSONLiteral; name: string; type: "tool_use" },
> = ...

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