A tool and system for inspecting, handling, sorting, and packing a sealable bag, the tool including: a housing which includes a mount for mechanically mounting the tool to a tip end of a robot arm; at least four displaceable fingers fixed to the housing in a configuration corresponding to dimensions of the sealable bag, each displaceable finger being displaceable in an axial direction of the displaceable finger and having a sensor for sensing displacement of the displaceable finger by more than a predetermined amount; a suction mechanism fixed to the housing and actuatable to lift the sealable bag; and a controller in communication with the sensor and with the suction mechanism.