Currently, task.list() returns detailed information about all the tasks that have been run on the xp instance.
There is no way, outside of using the semi-closed admin api and app introspection, to obtain a list of available named tasks. To be able to dynamically interact with named tasks in an admin app, access to this information is essential.