/target main
/script PickupContainerItem(4,1);
/script DropItemOnUnit("target);
/script AcceptTrade();

Not sure if that will work or not if it does it will be the item in the top left hand corner of your top bag. Still looking for a way to pickup container items by item id.