Parrots are quite smart. They use tools, as do a number of other birds
Many years ago, I stayed with a family with two pets: a poodle and a sulphur crested co-ck-atoo. The co-ck-atoo had clipped wings, so it couldn't fly. One day, both dog and bird were in the living room, and the dog got its dinner in a bowl on the floor. The co-ck-atoo immediately waddled over to the bowl to try and get his share. The poodle responded with a big growl and a bark, so the co-ck-atoo screeched and retreated to a safe distance.
The co-ck-atoo sat in a corner for maybe 15 seconds, intently watching the poodle munch on its dinner. Then he started to move along the skirting board along one wall until he got to the corner and followed the next wall for another two or three metres, until he was exactly behind the dog. Then, very purposefully and quietly, the co-ck-atoo moved towards the centre of the room and the dog (staying out of line of sight) and, when he got to the poodle, took a good bite in its tail.
The poodle let out a huge yelp, jumped away, and the co-ck-atoo triumphantly snatched a hunk of food and retreated with it under the safety of a sideboard, where he calmly ate it.
That was a splendid example of a bird not just solving a problem, but doing so with a considerable amount of planning.
BTW, I recently listened to a science podcast about dancing parrots. Researchers were able to show that the parrot really responds to rhythm and isn't just moving in response to noise: when they changed the tempo of the music, the parrot adjusted it's movements to match the pulse.
PS: Could we please disable this really silly obscenity filter? If I don't put the hyphens in "co-ck-atoo", it gets replaced with "[spam removed]". That's just silly. I haven't come across many four-letter words in this forum so far and I'm sure that people can manage without the help of brain-dead software...