Hi Jasper Nygaard,
To best of my knowledge this is "not" an option for "Remediation Actions" as per docs we are not passing parameters passed by health rule violation to scripts part of remediation action like "machine agent script" when policy trigerred, However passing parameters part of HR violation is an option in "custom actions"
refer doc: https://docs.appdynamics.com/display/PRO42/Build+a+Custom+Action (this will be part of controler actions)
Remediation actions are part of machine agent https://docs.appdynamics.com/display/PRO42/Remediation+Actions
Hope that answers your query