Look hard for thread. A hair, a bit of twine or a strand of plastic wrapped round a toe is extremely common in free ranging birds and it cuts the circulation off, so the toe swells and discolours. It is easy to miss because the thread sinks into the swelling.
Fine scissors or tweezers if it is loose. If it is embedded, that is a vet rather than a careful attempt, because you cannot see what is underneath.