https://www.sageadvice.eu/are-the-cantrips-added-to-a-spell-list-of-a-spellcaster-that-doesnt-have-cantrips/
Are the cantrips "added" to a spell list of a spellcaster that doesn't have cantrips?