Trigger source for script (to replace iOS actions)

With 2024.9, there’s now a warning on the Apple Watch configuration that iOS actions will be going away, and we should migrate to scripts. I currently have an automation that looks like this. It lets me close the garage door and sends a notification to the person who triggered it (I use it from my watch):

alias: Garage door ios action
description: ""
trigger:
  - platform: event
    event_type: ios.action_fired
    event_data:
      actionName: Open Garage
condition: []
action:
  - if:
      - condition: state
        state: unavailable
        entity_id: cover.garage_door
    then:
      - service_template: notify.mobile_app_{{trigger.event.data.sourceDeviceID}}
        data:
          title: Unavailable
          message: Garage door not available {{states('cover.garage_door')}}
    else:
      - data: {}
        target:
          entity_id: cover.garage_door
        action: cover.toggle
      - service_template: notify.mobile_app_{{trigger.event.data.sourceDeviceID}}
        data:
          message: Garage door {{states('cover.garage_door')}}
mode: single

Is there any equivalent data in a Script execution so I can send a notification to the user who triggered it from iOS, or change behavior based on how it was triggered?

Update: I found that there’s context.user_id, which is mostly undocumented, that I can use to find out who triggered the event, and a context.origin_event that tells me it was from a service call. But it doesn’t carry any more data to tell me what caused it to be triggered (i.e. from the watch), like an automation’s trigger.