as far as i know you need to do it manually
what are you going to use it for?
because only subsequent connections get the new identity... you would need to restart the thing that is using tor too.
*All posts are a purely speculative hypothesis based on abstract reasoning.
Not my daughter, you bitch!