In the poem al-ṭayru is an accusative direct object.

ʿAṭf al-Bayān: Definition, Examples, and Contrast with Badal