Passing Host Parameters to Shell hooks

I’m trying to pass some custom host parameters into a shell hook that I wrote. Right now I have it subscribed to the “Build Entered” event and it does appear that aspect works as suspected. However, I can’t seem to get the syntax right to set one of the shell arguments to a host parameter defined on the host which has entered build mode. I’ve tried @object.host_paramter_name and @object.all_parameters.host_parameter name, but I’m definitely missing something