How to pass a tag in call.registerInParam

I would like to pass a tag value into a SP with the call.registerInParam and I do not know the syntax.
Something simple, I’m sure.

myValue = system.tag.getTagValue("[default]MyTag")

Thanks,
So, a two step process? No way to specify the tag itself in the call.registerInParam?

mwaynesmith, you can make it one line of code:

call.registerInParam("arg_one", system.db.INTEGER, system.tag.getTagValue("[default]MyIntTag").value)

… but you will still need to read tag value - it is value, not the tag that you want to pass. So yes, a 2-step process.