Link and the Portal of Doom

Link and the Portal of Doom, is a short childrens novel by Tracy West. It was published in 2006.

Here is the synopsis:

The book takes place shortly after the events of the Legend of Zelda: Ocarina of Time. (Young) Link and Navi are walking through Hyrule Field when Talon (referred to as simply farmer) tells him that his Cuccos have escaped! Link goes off to find them in the forest.

Link then finds a giant portal sucking Cuccos in. When he tries to investigate, the portal begins to draw Link in! Link is able to escape the portal's pull, but he wonders how to stop the portal from sucking everything in. His concern is that it may even suck everyone from Hyrule in.

Navi finds text near to the giant portal. Unfortunately, It's Ancient Hylian text, and he is unable to read it. But then, Kaepora Gaebora shows up, and is able to translate it for Link. The text says that to close the portal, Link must play songs for it.

Link goes around Hyrule learning new songs, returns to the portal, and plays all of the combined songs for the portal who's trying to suck him in. The portal starts getting weaker as Link keeps playing. The portal then almost sucks him in, but Zelda and Impa get him just in time. The portal closes and Hyrule is saved. Link says that he and Zelda will protect Hyrule "together".