You could use a clipboard tool to copy something to the clipboard and then paste it in one command. There is such a common tool for Wayland: github.com/YaLTeR/wl-clipboard-rs . It’s at least in the official repository in Archlinux. The command could be something like this:
wl-copy “|>” ; wl-paste
Off course you would lose the current clipboard content this way. But I guess a script could easily be written to backup and restore clipboard, but not entirely sure how safe it is.