Police descended on a West Lothian town after residents reported seeing a man with a ‘bladed weapon’ in the street.