To-Lists and how to use Metadata

When using the Automations GUI to add a To-Do list item, the generated Yaml includes a Metadata entry viz

    - action: todo.add_item
        metadata: {}
        data: {}

This seems to work quite happily, with the following code

      - action: todo.add_item
        metadata:
          priority: high
        data:
          item: Research using metadata
        target:
          entity_id: todo.home_assistant

This would seem to have a lot of potential in expanding the use of the todo integration. But, for the life of me I cannot see how this metadata can be accessed?

Can anyone provide any insight?