I'd say it is an adjective complement. Adjectives are often followed by to-infinitive: "I was happy to see him".
Although it can also be considered an adjunct expressing reason, since youc can say " I was I fool because I trusted her".
Does anything that I've written make sense to you?.
What is your opinion?