Terraria item ID 5311. Terraria 1.4.5.7.
The Toucan is a critter that spawns in the Jungle during the daytime. It also has a small chance of spawning upon shaking a Mahogany tree during the day. It may turn hostile to players with negative luck; see hostile critter for details. The Toucan has only 5 health and no defense, and can be damaged by other enemies and players. The Toucan can be caught with any Bug Net to be carried around in the inventory and released later, or crafted into animated decorative furniture (Toucan Cage). Once crafted, the Toucan cannot be released again, unless the furniture item is de-crafted via Shimmer.
Description from the Terraria Wiki.