Trigger output variables?

I looked around and couldn't figure it out, but is there any data passed to actions from the trigger that triggered them?

For example if the trigger is "on active input source changed", it's the a way to get the language change that caused the action to run without querying the current input source with external api?

In this specific case there is no data passed.

However if you specifiy the layout name here, it will only trigger for that layout name:

Usually for such triggers I also set the value to a variable, but I forgot it in this case. With the next alpha the layout will be available in this variable once the trigger has been executed: CurrentKeyboardInputSource