noun
BAD : I don't have the slightest intention to accept the invitation.
GOOD : I don't have the slightest intention of accepting the invitation.
BAD : We went to Stratford with the intention to see a play.
GOOD : We went to Stratford with the intention of seeing a play.
◆◆◆
have no/not the slightest intention of doing sth : 'When the salesman realized that I had no intention of buying the car, he just walked off.'
with the intention of doing sth : 'I came to England with the intention of doing a PhD.'