Track Pliers are what you need. Back in the day, Lionel made separate pairs for 0-27 and O, numbered ST-342 and ST-384. Several years later they dropped the distinct pairs and went to a single pair, ST-384.
You can get modern production pliers under that same part number. Forum Sponsor, @Harry Henning of Henning's Trains sells them: