Querying midi note from node?

Is it possible to query a node (returned by the “play” command), to gather information about the synth – specifically, the midi note played? Is there any documentation of this?
Thanks!