Wikimedia has a picture of a Ancistrocerus trifasciatus / mason wasp carrying a kind of worm:
Is it possible to tell what exactly kind of worm it is, based only on the above image, number of worm's segments, dots on its skin and a correlation in size to wasp's size (or its feeding preferences)?
I am not the author of the picture, I was not present when it was captures, so I can't provide any more details that are usually helpful in species identification (like moment of day and year, geographic location etc.). The image itself doesn't contain any geolocation data, but from its German description in can be assumed that this was captured somewhere in Germany, Europe.