Verb to flag [past simple]
It got too late to take a tram so we flagged a taxi to take us home.