You can try org-agenda-filter-preset, though it will apply to all the agenda view, not just (agenda ...) block.
Also, there is always org-agenda-skip-function. Best, Ihor o.ro...@posteo.net writes: > Hello everyone, > > I hope I'm not asking something that has been answered 100 times, I made > a search to ensure nothing extremely obious slipped under the radar (I > also asked on IRC). > > I know that when you are in the agenda view that displays appointments, > it is possible to interactively filter in order to take into account a > specific tag (inclusive or exclusive). However, I would like to make an > agenda view which does this non-interactively. > > Essentially, what I would love to have at my disposal is to have > something like the MATCH you have in (tags-todo MATCH ...) for agenda - > because as of yet, this seems to be impossible. I have tried to look for > different variables and/or functions but couldn't find anything that > matches. > > Am I overlooking something obvious? If so, feel free to point me to > solutions so I can do my homework properly ;-) > > Greetings, have a good day, > Olivier