I think that isn’t possible yet. You have to create multiple script calls each one for a single tag, or you try to read/extract assigned tags using e.g. an API call as described here. The example api calls are to set or delete a tag, but it shouldn’t be that difficult to create a get request based on it.
Additionally you can create feature request in the app specific GitHub repository: