The feature layer being used does not represent a valid feature data type for the tool. Every tool has specific feature data types that it can and cannot process. For example, a valid feature layer may represent points, lines, or polygons. There are many other valid feature data types.
Read the tool help to learn what feature data types are accepted for processing by the tool.