Wan Shi Tong, All-Knowing's last ability triggers only when cards are put into a library from somewhere other than the library. It won't trigger when you scry, surveil, or otherwise reorder cards in your library.

Artwork
Loading artwork…
Wan Shi Tong, All-Knowing
Avatar: The Last Airbender Eternal · #98 · EN
Nonfoil—Foil—
Card rules
Flying
When Wan Shi Tong enters, target nonland permanent's owner puts it into their library second from the top or on the bottom.
Whenever one or more cards are put into a library from anywhere, create two 1/1 colorless Spirit creature tokens with "This token can't block or be blocked by non-Spirit creatures."
4/4
Mythic · Illustrated by Axel Sauerwald
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Oathbreaker Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions