How can I enter in a command that, for example, all wandering traders and their llamas are killed? / kill @e [type = minecraft: wandering_trader, minecraft: trader_llama] does not work…
Try it one by one:
/ kill @e [type = minecraft: wandering_trader]
/ kill @e [type = minecraft: trader_llama]