I am creating a PRE Trigger on a API Call.
There is a need to override the value of one of the Input Parameter, but I have not been able to do so for some reason?
I have tried:
mi.in.put("Field","NewValue")
But of course this tells me the below (which makes sense, but I'm not sure what options are available?).

Any suggestions would be appreciated.