Text this: Conditional Effects of AI Homework Tools on Students' Academic Performance