You searched for transmogrify
Syntax: cast transmogrify <weapon> <weapon type>
cast transmogrify <arrow or throwing stars>
With the power of their minds, Psionicists can manipulate the shape and
material of a weapon by rearranging its particles. Thus, they are able to
transform a sword into a staff, a dagger into a bow, and more. Arrows take
on the shape of throwing stars, and throwing stars shift to look like
when this spell is cast upon them.