State Tree: How can I access parameters from outside the component?

In case anyone from the future comes here, I’m yet to solve the problem but I got around it by creating a task that sets this variable in the class I required it.