Shortcuts offers two URL scheme options for interacting with the Gallery: one for opening the Gallery, and one for searching the Gallery. URL schemes can be used anywhere a URL can be used—your own app, in a web browser, or in the command line.
Open a URL with the following structure: shortcuts://gallery
shortcuts://gallery
Shortcuts opens, showing you the main page of the Gallery.
Open a URL with the following structure: shortcuts://gallery/search?query=[query]
shortcuts://gallery/search?query=[query]
The query parameter determines the URL-encoded keywords to be searched in the Gallery.
query
For example, if you want to send someone a link to explore shortcuts for photos available in the Gallery, you would instruct them to open
shortcuts://gallery/search?query=photos