Iron Flask

Wondrous item, legendary
This iron bottle has a brass stopper. You can use an action to speak the flask's command word, targeting a creature that you can see within 60 feet of you. If the target is native to a plane of existence other than the one you're on, the target must succeed on a DC 17 Wisdom saving throw or be trapped in the flask. If the target has been trapped by the flask before, it has advantage on the saving throw. Once trapped, a creature remains in the flask until released. The flask can hold only one creature at a time. A creature trapped in the flask doesn't need to breathe, eat, or drink and doesn't age.
You can use an action to remove the flask's stopper and release the creature the flask contains. The creature is friendly to you and your companions for 1 hour and obeys your commands for that duration. If you give no commands or give it a command that is likely to result in its death, it defends itself but otherwise takes no actions. At the end of the duration, the creature acts in accordance with its normal disposition and alignment.
An identify spell reveals that a creature is inside the flask, but the only way to determine the type of creature is to open the flask. A newly discovered bottle might already contain a creature chosen by the DM or determined randomly.
d100Contents
1-50Empty
51Arcanaloth
52Cambion
53-54Dao
55-57Demon (type 1)
58-60Demon (type 2)
61-62Demon (type 3)
63-64Demon (type 4)
65Demon (type 5)
66Demon (type 6)
67Deva
68-69Devil (greater)
70-72Devil (lesser)
73-74Djinni
75-76Efreeti
77-78Elemental (any)
79Githyanki knight
80Githzerai zerth
81-82Invisible stalker
83-84Marid
85-86Mezzoloth
87-88Night hag
89-90Nycaloth
91Planetar
92-93Salamander
94-95Slaad (any)
96Solar
97-98Succubus/incubus
99Ultroloth
100Xorn

Dungeon Master´s Guide (SRD)
  1. DnD 5e Magic Items › Iron Flask
Iron Flask