The past tense of have the ability to is had the ability to.
The third-person singular simple present indicative form of have the ability to is has the ability to.
The present participle of have the ability to is having the ability to.
The past participle of have the ability to is had the ability to.