You can't return itemstacks from procedures. This also applies to the run procedure and get return value and get dependecy procedures.
I know that multiple ideas i the same post is not allowed, but i think these are all related.(Itemstacks are missing from certain places.)
This would be useful for organizing custom crafting.
Just noticed this also applies to nbt tags.
Returning itemstack is planned for the future updates.