Throw him a treasure.
You'll need one you can reclaim.
Throw him the nest.
Remember the words in the Giant room?
Type them, one after another. You should get the response 'Done!' at the end.