File:Panda eating a spyglass.png

Summary
/summon minecraft:panda ~ ~ ~ {HandItems:[{id:"minecraft:spyglass", Count:1b},{}]}

See for more info