Acces all flow scope variables and/or values

Hey all,
Are there variables within the scope of a flow that can be accessed though Homey Script (maybe as run code as a flowcard)? What would I hope to access? Well I hope there is an object of variable or other way to get info on the path a flow takes. Like what triggerd me, what tags/variables/values passed though the flow, up to this point.

For example, I just now saw the possibility to copy a device ID or the device info as JSON. Soooooo, I imagine this must be passable through code within a flow as well, right?