Iron Flask
Wondrous Item, Legendary
Capture (Magic action). Target a creature you can see within 60 ft. If the flask is empty and the target is native to another plane, it must succeed on a DC 17 Wis save or be trapped inside (Advantage if trapped by this flask before). Holds one creature at a time; a trapped creature doesn't age and needn't breathe, eat, or drink, and stays until released.
Release (Magic action). Unstopper to free it; it obeys your commands for 1 hour, understanding them regardless of language. Given no command, or one likely to cause its death or imprisonment, it only defends itself. When the hour ends it acts per its normal disposition and alignment.
Identify reveals whether a creature is inside but not its type; only opening the flask does.