complete and resources-list take a :context parameter, which has the rather cryptic docstring "Completion context for compliment.", what exactly is a 'completion context' and how is it used?
complete
resources-list
:context