AGI command Goto?

I was curious if there was a way for an AGI script to execute, and over stdin tell asterisk/dialpad to goto somewhere else in the dialpad execution.

Just like Goto in dialpad, but from an AGI.

Thanks!