I’ve had this happen to me twice: both with major OS updates (13 final release and 14 beta). A random but large selection of my shortcuts have all the parameters removed. The only option is to rebuild it by hand. I still back up my shortcuts as files frequently as some level of safety against this — even though it’s impossible to import from file, in a pinch I can open up the shortcut xml as a reference when painstakingly putting everything back together.
Looking at the image you’ve posted there is a problem with the variable is nothing is set.
Try adding shortcut input into the variable. I’ve run into a problem recently myself where I am passing input from one shortcut to another and the second shortcut has input like yours. It appears that this does not work as you actually have to add “Shortcut input” into the variable.