Just out of a WWDC lab with some folks on the team. Seems to just be a UX thing in the Shortcuts app. When using EntityQuery in the shortcuts app you are presented with a context menu to use a variable, when using EntityStringQuery you need to press and hold the parameter to open the context menu.
Also in iOS 26, the system seems to be able to use suggestedEntities to match a string from siri FYI
Topic:
App & System Services
SubTopic:
Automation & Scripting
Tags: