When casting the Stone Shape 5e you can touch a medium-sized or smaller stone object or a part of a rock that is no more than 5 feet long, wide…
Stone Shape 5e
Level: 4th
Classes: Druid, Cleric, Wizard
Casting Time: 1 Action
Range: Touch
Components: V, S, M
Duration: Instantaneous
You can touch a medium-sized or smaller stone object or a part of a rock that is no more than 5 feet long, wide, or tall, and shape it into any shape you want.
For example, you can turn a large rock into a weapon, a statue, a coffin, or a small pathway through a wall, provided that the wall is no more than 5 feet thick.
You can also deform a stone door or a stone door frame to seal the door shut.
The object you create can have up to two hinges and a latch, but not more complex mechanical structures that can be shaped by the spell.