Magic Beans

The magic beans were given to Graham after he correctly guessed Rumplestiltskin's backward's name.

Behind the scenes
In the original KQ1, these are known simply as "beans" in the inventory.