Reliable generation of isomorphic physics problems using Generative AI with prompt-chaining and tool use