For a tool, intended for only occasional use, I think I'd just put three AA cells in series rather than fussing with wall warts and converters. Connecting them between black and yellow in both directions would do the trick.
Is there truly a reason for the involvement of an existing 18 VAC or 5 VDC supply?