Context clues reveal that "pulling my leg" means tricking someone through joking or teasing.
Context clues help understand the idiom "pulling my leg" to mean tricking someone. In the phrase "Did I really win the lottery, or are you just pulling my leg?", it suggests the speaker may not be telling the truth but joking or teasing.