Default [Q][KitKat][ADB] Is it possible to set a device's clipboard using ADB?

I want to write and read the clipboard content of a rooted Android device's with ADB.

I found some old Examples but they did not work anymore,

read clipboard:

adb shell service call clipboard 1
write clipboard:

service call clipboard 2 i32 1 i32 0 s16 "Hi xda"
Maybe there is an other CLI to set the clipboard.

Any suggestions or help guiding me in the right direction would be greatly appreciated.