We actually already have support for that with the broadcast-events command but I improved it a bit just now. Just make a json file with an array of nostr events and execute this command:
nostr-tool -r wss://nostr.oxtr.dev broadcast-events -f events.json