From Wiktionary, the free dictionary
ter fogo no rabo (first-person singular present tenho fogo no rabo, first-person singular preterite tive fogo no rabo, past participle tido fogo no rabo)
- (idiomatic) to have ants in one's pants (to be agitated and fidgety)