There isn't currently a function to do that through the proxy, unfortunately. I will add it to the todo list, tho.
As a workaround, you'll want to create a command to retrieve the value first, and then access the value.
Sorry about that... good idea, for sure!