getClipboardText.lua 332 B

123456789101112131415161718
  1. return {
  2. tag = 'system-clipboard',
  3. summary = 'Get the clipboard text.',
  4. description = 'Returns the clipboard text.',
  5. arguments = {},
  6. returns = {
  7. text = {
  8. type = 'string | nil',
  9. description = 'The clipboard text.'
  10. }
  11. },
  12. variants = {
  13. {
  14. arguments = {},
  15. returns = { 'text' }
  16. }
  17. }
  18. }