in bitcoin core, how to use Tor for broadcasting new transactions only?
You cannot.
The node side of Bitcoin Core treats wallet transactions as any other transaction. They aren't treated any differently from transactions received over the network. So once the transaction is added to the node's mempool, it will be broadcast to connected nodes in the same way that any other transaction would be relayed.
All you can do is to temporarily run Tor only for transaction broadcast.