When implementing @AppIntent(schema: .photos.createAssets) in my app I can accept files to import as assets into my app.
Therefore I would expect be able to use this in Shortcuts and pass in a selected file to my createAssets intent. For example using the Files app Select Files action and pass the selected files on to my photos.createAssets action. However doesn't seem to be possible in any way.
The only thing I can do in Shortcuts is select a file for the create assets action at the time I make the shortcut. Which removes all flexibility.
Is this a bug or a missing feature? Or am I missing something how to set this up correctly? I've been testing this with the new "Integrating your photo app with Apple Intelligence" Apple Sample and it's not working with that in any way.
FB23066510