Al-ṭullābu in al-ṭullābu katabū is a direct object.

Feminine Tāʾ in the Past Tense: Form and Agreement