manifest.json 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "id": "zoho-cliq",
  3. "name": "Zoho Cliq",
  4. "description": "Zoho Cliq chat/messaging integration — send messages, list chats and history",
  5. "version": "1.0.0",
  6. "author": "Ferenc Szontagh & Zoë",
  7. "sdkVersion": 1,
  8. "entry": "index.js",
  9. "runtime": "quickjs",
  10. "permissions": {
  11. "allowNetwork": true,
  12. "allowStorage": true
  13. },
  14. "config": [
  15. { "key": "client_id", "label": "Zoho OAuth Client ID", "required": true, "secret": true },
  16. { "key": "client_secret", "label": "Zoho OAuth Client Secret", "required": true, "secret": true }
  17. ],
  18. "tools": [
  19. {
  20. "name": "setup_auth",
  21. "description": "Exchange a Zoho grant token for access + refresh tokens. Run this ONCE after getting a grant token from the Zoho Developer Console.",
  22. "parameters": {
  23. "type": "object",
  24. "properties": {
  25. "grant_token": { "type": "string", "description": "Grant token from Zoho Developer Console (Self Client → Generate)" }
  26. },
  27. "required": ["grant_token"]
  28. }
  29. },
  30. {
  31. "name": "auth_status",
  32. "description": "Check authentication status and token validity",
  33. "parameters": { "type": "object", "properties": {} }
  34. },
  35. {
  36. "name": "list_chats",
  37. "description": "List recent chats in Zoho Cliq",
  38. "parameters": {
  39. "type": "object",
  40. "properties": {}
  41. }
  42. },
  43. {
  44. "name": "list_channels",
  45. "description": "List all channels in Zoho Cliq",
  46. "parameters": {
  47. "type": "object",
  48. "properties": {}
  49. }
  50. },
  51. {
  52. "name": "send_message",
  53. "description": "Send a message to a Zoho Cliq chat",
  54. "parameters": {
  55. "type": "object",
  56. "properties": {
  57. "chat_id": { "type": "string", "description": "Chat ID (e.g. CT_1375868514056111025_20106394584)" },
  58. "message": { "type": "string", "description": "Message text" }
  59. },
  60. "required": ["chat_id", "message"]
  61. }
  62. },
  63. {
  64. "name": "get_messages",
  65. "description": "Get messages from a specific Zoho Cliq chat",
  66. "parameters": {
  67. "type": "object",
  68. "properties": {
  69. "chat_id": { "type": "string", "description": "Chat ID" },
  70. "index": { "type": "number", "description": "Page index (default 1)" }
  71. },
  72. "required": ["chat_id"]
  73. }
  74. },
  75. {
  76. "name": "post_to_channel",
  77. "description": "Post a message to a Zoho Cliq channel by name",
  78. "parameters": {
  79. "type": "object",
  80. "properties": {
  81. "channel_name": { "type": "string", "description": "Channel unique name (e.g. announcements)" },
  82. "message": { "type": "string", "description": "Message text" }
  83. },
  84. "required": ["channel_name", "message"]
  85. }
  86. }
  87. ],
  88. "skills": ["zoho-cliq"]
  89. }