chatgenius-mcp 0.2.4 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/tools.js +6 -1
- package/tools.json +566 -1
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ claude plugin install chatgenius@sumgenius
|
|
|
43
43
|
|
|
44
44
|
## What it can do
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
108 tools in ten groups. Read tools are safe to run freely. Write tools create or edit records. Destructive tools reach a real person, publish content or change what runs live, and are marked so the client asks you first.
|
|
47
47
|
|
|
48
48
|
| Group | Tools |
|
|
49
49
|
|---|---|
|
|
@@ -55,8 +55,8 @@ claude plugin install chatgenius@sumgenius
|
|
|
55
55
|
| Comments | `list_comment_triggers`, `get_comment_trigger`, `simulate_comment`, `create_comment_trigger`, `update_comment_trigger`, `duplicate_comment_trigger`, `delete_comment_trigger`, `get_comment_trigger_stats`, `list_recent_posts`, `list_handled_comments`, `get_handled_comment`, `get_comment_manager_stats`, `approve_comment_reply`, `reject_comment_reply`, `bulk_approve_comment_replies`, `bulk_reject_comment_replies` |
|
|
56
56
|
| Content Studio | `list_posts`, `get_post`, `get_posting_capabilities`, `create_post`, `update_post`, `schedule_post`, `publish_post`, `unschedule_post`, `retry_post`, `delete_post` |
|
|
57
57
|
| Market Intel | `list_competitors`, `get_competitor`, `get_competitor_leaderboard`, `get_follower_history`, `get_wins_and_opportunities`, `get_audience_demographics`, `list_post_performance`, `get_account_insights`, `add_competitor`, `remove_competitor`, `refresh_market_intel` |
|
|
58
|
-
| Knowledge base | `list_faqs`, `create_faq`, `update_faq`, `list_services`, `list_knowledge_gaps`, `get_knowledge_usage`, `get_faq`, `delete_faq`, `get_service`, `create_service`, `update_service`, `delete_service`, `list_documents`, `get_document`, `update_document`, `delete_document` |
|
|
59
|
-
| AI settings | `get_ai_config`, `get_ai_channels` |
|
|
58
|
+
| Knowledge base | `list_faqs`, `create_faq`, `update_faq`, `list_services`, `list_knowledge_gaps`, `resolve_knowledge_gap`, `dismiss_knowledge_gap`, `get_knowledge_usage`, `get_faq`, `delete_faq`, `get_service`, `create_service`, `update_service`, `delete_service`, `list_documents`, `get_document`, `update_document`, `delete_document` |
|
|
59
|
+
| AI settings | `get_ai_config`, `update_ai_config`, `get_ai_channels` |
|
|
60
60
|
|
|
61
61
|
Things to try:
|
|
62
62
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chatgenius-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "MCP server for ChatGenius: give Claude, Cursor, Gemini CLI or any MCP client tools over your Instagram, Facebook, WhatsApp and SMS inbox, contacts, appointments, flows, posts and knowledge base.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://sumgenius.ai/docs/mcp",
|
package/server.json
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
"name": "io.github.SumCodeAI/chatgenius",
|
|
4
4
|
"description": "ChatGenius tools: Instagram, Facebook, WhatsApp and SMS inbox, contacts, bookings, flows, posts.",
|
|
5
5
|
"websiteUrl": "https://sumgenius.ai/docs/mcp",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.3.0",
|
|
7
7
|
"packages": [
|
|
8
8
|
{
|
|
9
9
|
"registryType": "npm",
|
|
10
10
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
11
11
|
"identifier": "chatgenius-mcp",
|
|
12
|
-
"version": "0.
|
|
12
|
+
"version": "0.3.0",
|
|
13
13
|
"runtimeHint": "npx",
|
|
14
14
|
"transport": {
|
|
15
15
|
"type": "stdio"
|
package/src/tools.js
CHANGED
|
@@ -134,6 +134,9 @@ export const TOOLS = [
|
|
|
134
134
|
{ name: 'update_faq', op: 'update_an_faq', kind: 'destructive' },
|
|
135
135
|
{ name: 'list_services', op: 'list_services', kind: 'read' },
|
|
136
136
|
{ name: 'list_knowledge_gaps', op: 'list_knowledge_gaps', kind: 'read' },
|
|
137
|
+
{ name: 'resolve_knowledge_gap', op: 'resolve_a_knowledge_gap', kind: 'write',
|
|
138
|
+
note: 'Ask the user for the answer, or confirm a suggested_answer with them first: it becomes what the AI tells customers.' },
|
|
139
|
+
{ name: 'dismiss_knowledge_gap', op: 'dismiss_a_knowledge_gap', kind: 'write' },
|
|
137
140
|
{ name: 'get_knowledge_usage', op: 'get_knowledge_base_usage', kind: 'read' },
|
|
138
141
|
{ name: 'get_faq', op: 'get_an_faq', kind: 'read' },
|
|
139
142
|
{ name: 'delete_faq', op: 'delete_an_faq', kind: 'destructive' },
|
|
@@ -146,7 +149,9 @@ export const TOOLS = [
|
|
|
146
149
|
{ name: 'update_document', op: 'rename_or_toggle_a_document', kind: 'write' },
|
|
147
150
|
{ name: 'delete_document', op: 'delete_a_document', kind: 'destructive' },
|
|
148
151
|
|
|
149
|
-
// AI settings (
|
|
152
|
+
// AI settings (switching the AI on or off per channel needs the admin scope, which assistants never get)
|
|
150
153
|
{ name: 'get_ai_config', op: 'get_the_ai_configuration', kind: 'read' },
|
|
154
|
+
{ name: 'update_ai_config', op: 'update_the_ai_configuration', kind: 'destructive',
|
|
155
|
+
note: 'Changes how the live AI answers real customers. Call get_ai_config first, send only the fields that change, and confirm the change with the user. Saving starters publishes them to Instagram and Facebook at once. Business hours: send only the days that change.' },
|
|
151
156
|
{ name: 'get_ai_channels', op: 'get_the_per_channel_ai_switches', kind: 'read' },
|
|
152
157
|
];
|
package/tools.json
CHANGED
|
@@ -5010,7 +5010,7 @@
|
|
|
5010
5010
|
},
|
|
5011
5011
|
{
|
|
5012
5012
|
"name": "list_knowledge_gaps",
|
|
5013
|
-
"description": "List knowledge gaps. Questions the AI could not answer well, flagged by the gap detector with the customer message, the AI reply, a canonical form of the question, and a suggested answer and target. Open gaps by default; status=all for everything.
|
|
5013
|
+
"description": "List knowledge gaps. Questions the AI could not answer well, flagged by the gap detector with the customer message, the AI reply, a canonical form of the question, and a suggested answer and target. Open gaps by default; status=all for everything. Fix one with POST /knowledge-gaps/{id}/resolve (adds an FAQ) or by editing identity.instructions with PATCH /ai/config, then dismiss what needs no fix.",
|
|
5014
5014
|
"method": "GET",
|
|
5015
5015
|
"path": "/knowledge-gaps",
|
|
5016
5016
|
"scope": "read",
|
|
@@ -5084,6 +5084,72 @@
|
|
|
5084
5084
|
"additionalProperties": false
|
|
5085
5085
|
}
|
|
5086
5086
|
},
|
|
5087
|
+
{
|
|
5088
|
+
"name": "resolve_knowledge_gap",
|
|
5089
|
+
"description": "Resolve a knowledge gap. Adds answer as a knowledge base FAQ under the gap's question and marks the gap resolved; the AI uses it from the next message. Counts against the plan's knowledge base cap (403 plan_limit_reached). Only an open gap can be resolved (409 not_open). embedding_pending true means the FAQ is saved and indexing finishes shortly. Ask the user for the answer, or confirm a suggested_answer with them first: it becomes what the AI tells customers.",
|
|
5090
|
+
"method": "POST",
|
|
5091
|
+
"path": "/knowledge-gaps/{id}/resolve",
|
|
5092
|
+
"scope": "write",
|
|
5093
|
+
"kind": "write",
|
|
5094
|
+
"hasBody": true,
|
|
5095
|
+
"where": {
|
|
5096
|
+
"path": [
|
|
5097
|
+
"id"
|
|
5098
|
+
],
|
|
5099
|
+
"query": [],
|
|
5100
|
+
"body": [
|
|
5101
|
+
"answer"
|
|
5102
|
+
]
|
|
5103
|
+
},
|
|
5104
|
+
"inputSchema": {
|
|
5105
|
+
"type": "object",
|
|
5106
|
+
"properties": {
|
|
5107
|
+
"id": {
|
|
5108
|
+
"type": "integer",
|
|
5109
|
+
"description": "Numeric id."
|
|
5110
|
+
},
|
|
5111
|
+
"answer": {
|
|
5112
|
+
"type": "string",
|
|
5113
|
+
"maxLength": 2000,
|
|
5114
|
+
"description": "The answer the AI should give. Saved word for word as the FAQ answer."
|
|
5115
|
+
}
|
|
5116
|
+
},
|
|
5117
|
+
"required": [
|
|
5118
|
+
"id",
|
|
5119
|
+
"answer"
|
|
5120
|
+
],
|
|
5121
|
+
"additionalProperties": false
|
|
5122
|
+
}
|
|
5123
|
+
},
|
|
5124
|
+
{
|
|
5125
|
+
"name": "dismiss_knowledge_gap",
|
|
5126
|
+
"description": "Dismiss a knowledge gap. Marks the gap dismissed and teaches the AI nothing. The detector will not raise the same question again. Only an open gap can be dismissed (409 not_open). Send {} as the body.",
|
|
5127
|
+
"method": "POST",
|
|
5128
|
+
"path": "/knowledge-gaps/{id}/dismiss",
|
|
5129
|
+
"scope": "write",
|
|
5130
|
+
"kind": "write",
|
|
5131
|
+
"hasBody": false,
|
|
5132
|
+
"where": {
|
|
5133
|
+
"path": [
|
|
5134
|
+
"id"
|
|
5135
|
+
],
|
|
5136
|
+
"query": [],
|
|
5137
|
+
"body": []
|
|
5138
|
+
},
|
|
5139
|
+
"inputSchema": {
|
|
5140
|
+
"type": "object",
|
|
5141
|
+
"properties": {
|
|
5142
|
+
"id": {
|
|
5143
|
+
"type": "integer",
|
|
5144
|
+
"description": "Numeric id."
|
|
5145
|
+
}
|
|
5146
|
+
},
|
|
5147
|
+
"required": [
|
|
5148
|
+
"id"
|
|
5149
|
+
],
|
|
5150
|
+
"additionalProperties": false
|
|
5151
|
+
}
|
|
5152
|
+
},
|
|
5087
5153
|
{
|
|
5088
5154
|
"name": "get_knowledge_usage",
|
|
5089
5155
|
"description": "Get knowledge base usage. How many items exist against the plan cap, broken down by FAQs, services and documents, plus document storage. Check can_add before creating.",
|
|
@@ -5566,6 +5632,505 @@
|
|
|
5566
5632
|
"additionalProperties": false
|
|
5567
5633
|
}
|
|
5568
5634
|
},
|
|
5635
|
+
{
|
|
5636
|
+
"name": "update_ai_config",
|
|
5637
|
+
"description": "Update the AI configuration. Send any subset of sections, each with any subset of its fields. Omitted fields keep their values. off_limits merges per category. Changing starters publishes to Instagram and Facebook at once, like the portal. Never touches the per-channel AI on/off switches. Changes how the live AI answers real customers. Call get_ai_config first, send only the fields that change, and confirm the change with the user. Saving starters publishes them to Instagram and Facebook at once. Business hours: send only the days that change.",
|
|
5638
|
+
"method": "PATCH",
|
|
5639
|
+
"path": "/ai/config",
|
|
5640
|
+
"scope": "write",
|
|
5641
|
+
"kind": "destructive",
|
|
5642
|
+
"hasBody": true,
|
|
5643
|
+
"where": {
|
|
5644
|
+
"path": [],
|
|
5645
|
+
"query": [],
|
|
5646
|
+
"body": [
|
|
5647
|
+
"identity",
|
|
5648
|
+
"behavior",
|
|
5649
|
+
"restrictions",
|
|
5650
|
+
"starters",
|
|
5651
|
+
"file_handling",
|
|
5652
|
+
"followups",
|
|
5653
|
+
"csat",
|
|
5654
|
+
"comment_ai",
|
|
5655
|
+
"booking"
|
|
5656
|
+
]
|
|
5657
|
+
},
|
|
5658
|
+
"inputSchema": {
|
|
5659
|
+
"type": "object",
|
|
5660
|
+
"properties": {
|
|
5661
|
+
"identity": {
|
|
5662
|
+
"type": "object",
|
|
5663
|
+
"properties": {
|
|
5664
|
+
"name": {
|
|
5665
|
+
"type": [
|
|
5666
|
+
"string",
|
|
5667
|
+
"null"
|
|
5668
|
+
],
|
|
5669
|
+
"maxLength": 100,
|
|
5670
|
+
"description": "What the AI calls itself."
|
|
5671
|
+
},
|
|
5672
|
+
"tone": {
|
|
5673
|
+
"type": "string",
|
|
5674
|
+
"enum": [
|
|
5675
|
+
"casual",
|
|
5676
|
+
"professional",
|
|
5677
|
+
"formal"
|
|
5678
|
+
]
|
|
5679
|
+
},
|
|
5680
|
+
"instructions": {
|
|
5681
|
+
"type": "string",
|
|
5682
|
+
"maxLength": 20000,
|
|
5683
|
+
"description": "The custom rules and guidelines. The system prompt the business writes."
|
|
5684
|
+
},
|
|
5685
|
+
"welcome_message": {
|
|
5686
|
+
"type": [
|
|
5687
|
+
"string",
|
|
5688
|
+
"null"
|
|
5689
|
+
],
|
|
5690
|
+
"maxLength": 500,
|
|
5691
|
+
"description": "Sent as written on the first message of every new conversation. Null for no greeting."
|
|
5692
|
+
},
|
|
5693
|
+
"welcome_mode": {
|
|
5694
|
+
"type": "string",
|
|
5695
|
+
"enum": [
|
|
5696
|
+
"combined",
|
|
5697
|
+
"standalone"
|
|
5698
|
+
],
|
|
5699
|
+
"description": "combined: welcome and the AI answer in one message. standalone: welcome only, the AI answers the next message."
|
|
5700
|
+
},
|
|
5701
|
+
"website_url": {
|
|
5702
|
+
"type": [
|
|
5703
|
+
"string",
|
|
5704
|
+
"null"
|
|
5705
|
+
]
|
|
5706
|
+
},
|
|
5707
|
+
"business_contact_email": {
|
|
5708
|
+
"type": [
|
|
5709
|
+
"string",
|
|
5710
|
+
"null"
|
|
5711
|
+
]
|
|
5712
|
+
},
|
|
5713
|
+
"business_contact_phone": {
|
|
5714
|
+
"type": [
|
|
5715
|
+
"string",
|
|
5716
|
+
"null"
|
|
5717
|
+
]
|
|
5718
|
+
},
|
|
5719
|
+
"default_customer_language": {
|
|
5720
|
+
"type": [
|
|
5721
|
+
"string",
|
|
5722
|
+
"null"
|
|
5723
|
+
],
|
|
5724
|
+
"enum": [
|
|
5725
|
+
"en",
|
|
5726
|
+
"es",
|
|
5727
|
+
"zh",
|
|
5728
|
+
"fr",
|
|
5729
|
+
"de",
|
|
5730
|
+
"pt",
|
|
5731
|
+
"ja",
|
|
5732
|
+
"ru",
|
|
5733
|
+
"hi",
|
|
5734
|
+
"ar",
|
|
5735
|
+
"it",
|
|
5736
|
+
"ko",
|
|
5737
|
+
"nl",
|
|
5738
|
+
"cs",
|
|
5739
|
+
"pl",
|
|
5740
|
+
"tr",
|
|
5741
|
+
"sv",
|
|
5742
|
+
"da",
|
|
5743
|
+
"no",
|
|
5744
|
+
"ro",
|
|
5745
|
+
"hu",
|
|
5746
|
+
"uk",
|
|
5747
|
+
"el",
|
|
5748
|
+
"vi",
|
|
5749
|
+
"id",
|
|
5750
|
+
"th",
|
|
5751
|
+
"tl",
|
|
5752
|
+
"he",
|
|
5753
|
+
null
|
|
5754
|
+
],
|
|
5755
|
+
"description": "Customer language, used until a lead's own language is known: for the AI reply to a message with no real words (an emoji, \"ok\", a name) and for automated messages (flow prompts, booking times, CSAT survey, fallback replies). Null means Automatic: the AI follows the language of the instructions and automated messages use English."
|
|
5756
|
+
}
|
|
5757
|
+
}
|
|
5758
|
+
},
|
|
5759
|
+
"behavior": {
|
|
5760
|
+
"type": "object",
|
|
5761
|
+
"properties": {
|
|
5762
|
+
"goals": {
|
|
5763
|
+
"type": "array",
|
|
5764
|
+
"items": {
|
|
5765
|
+
"type": "string",
|
|
5766
|
+
"enum": [
|
|
5767
|
+
"answer_questions",
|
|
5768
|
+
"book_appointments",
|
|
5769
|
+
"capture_leads",
|
|
5770
|
+
"qualify_prospects"
|
|
5771
|
+
]
|
|
5772
|
+
},
|
|
5773
|
+
"minItems": 1
|
|
5774
|
+
},
|
|
5775
|
+
"batch_messages": {
|
|
5776
|
+
"type": "boolean",
|
|
5777
|
+
"description": "Wait for rapid follow-up messages before answering."
|
|
5778
|
+
},
|
|
5779
|
+
"batch_window_ms": {
|
|
5780
|
+
"type": "integer",
|
|
5781
|
+
"minimum": 5000
|
|
5782
|
+
},
|
|
5783
|
+
"auto_escalation": {
|
|
5784
|
+
"type": "boolean",
|
|
5785
|
+
"description": "Hand to a human on frustration or an explicit request."
|
|
5786
|
+
},
|
|
5787
|
+
"copilot_enabled": {
|
|
5788
|
+
"type": "boolean",
|
|
5789
|
+
"description": "The AI drafts, a person approves."
|
|
5790
|
+
},
|
|
5791
|
+
"reply_pacing": {
|
|
5792
|
+
"type": "string",
|
|
5793
|
+
"enum": [
|
|
5794
|
+
"instant",
|
|
5795
|
+
"quick",
|
|
5796
|
+
"natural",
|
|
5797
|
+
"relaxed"
|
|
5798
|
+
],
|
|
5799
|
+
"description": "How long after the lead's last message an AI reply arrives. instant: as soon as it is written. quick: about 15 to 30 seconds. natural: about 30 to 60. relaxed: about 60 to 90. Anything but instant turns batching on."
|
|
5800
|
+
},
|
|
5801
|
+
"business_hours": {
|
|
5802
|
+
"type": "array",
|
|
5803
|
+
"items": {
|
|
5804
|
+
"type": "object",
|
|
5805
|
+
"properties": {
|
|
5806
|
+
"day": {
|
|
5807
|
+
"type": "string",
|
|
5808
|
+
"enum": [
|
|
5809
|
+
"sunday",
|
|
5810
|
+
"monday",
|
|
5811
|
+
"tuesday",
|
|
5812
|
+
"wednesday",
|
|
5813
|
+
"thursday",
|
|
5814
|
+
"friday",
|
|
5815
|
+
"saturday"
|
|
5816
|
+
]
|
|
5817
|
+
},
|
|
5818
|
+
"closed": {
|
|
5819
|
+
"type": "boolean"
|
|
5820
|
+
},
|
|
5821
|
+
"open": {
|
|
5822
|
+
"type": [
|
|
5823
|
+
"string",
|
|
5824
|
+
"null"
|
|
5825
|
+
],
|
|
5826
|
+
"description": "HH:MM, 24-hour"
|
|
5827
|
+
},
|
|
5828
|
+
"close": {
|
|
5829
|
+
"type": [
|
|
5830
|
+
"string",
|
|
5831
|
+
"null"
|
|
5832
|
+
],
|
|
5833
|
+
"description": "HH:MM, 24-hour"
|
|
5834
|
+
}
|
|
5835
|
+
}
|
|
5836
|
+
},
|
|
5837
|
+
"description": "Only the days you send change, and only the fields you send on each. Open 24/7 is open 00:00, close 23:59 on every day. A day with closed false needs open and close."
|
|
5838
|
+
}
|
|
5839
|
+
}
|
|
5840
|
+
},
|
|
5841
|
+
"restrictions": {
|
|
5842
|
+
"type": "object",
|
|
5843
|
+
"properties": {
|
|
5844
|
+
"off_limits": {
|
|
5845
|
+
"type": "object",
|
|
5846
|
+
"properties": {
|
|
5847
|
+
"legal": {
|
|
5848
|
+
"type": "boolean"
|
|
5849
|
+
},
|
|
5850
|
+
"medical": {
|
|
5851
|
+
"type": "boolean"
|
|
5852
|
+
},
|
|
5853
|
+
"competitors": {
|
|
5854
|
+
"type": "boolean"
|
|
5855
|
+
},
|
|
5856
|
+
"pricing": {
|
|
5857
|
+
"type": "boolean"
|
|
5858
|
+
},
|
|
5859
|
+
"personal": {
|
|
5860
|
+
"type": "boolean"
|
|
5861
|
+
},
|
|
5862
|
+
"offtopic": {
|
|
5863
|
+
"type": "boolean"
|
|
5864
|
+
}
|
|
5865
|
+
},
|
|
5866
|
+
"description": "Send only the categories to change."
|
|
5867
|
+
},
|
|
5868
|
+
"solicitation_pause": {
|
|
5869
|
+
"type": "boolean"
|
|
5870
|
+
}
|
|
5871
|
+
}
|
|
5872
|
+
},
|
|
5873
|
+
"starters": {
|
|
5874
|
+
"type": "object",
|
|
5875
|
+
"properties": {
|
|
5876
|
+
"instagram": {
|
|
5877
|
+
"type": "object",
|
|
5878
|
+
"properties": {
|
|
5879
|
+
"enabled": {
|
|
5880
|
+
"type": "boolean"
|
|
5881
|
+
},
|
|
5882
|
+
"questions": {
|
|
5883
|
+
"type": "array",
|
|
5884
|
+
"items": {
|
|
5885
|
+
"type": "string",
|
|
5886
|
+
"maxLength": 80
|
|
5887
|
+
},
|
|
5888
|
+
"maxItems": 4
|
|
5889
|
+
}
|
|
5890
|
+
}
|
|
5891
|
+
},
|
|
5892
|
+
"facebook": {
|
|
5893
|
+
"type": "object",
|
|
5894
|
+
"properties": {
|
|
5895
|
+
"enabled": {
|
|
5896
|
+
"type": "boolean"
|
|
5897
|
+
},
|
|
5898
|
+
"mode": {
|
|
5899
|
+
"type": "string",
|
|
5900
|
+
"enum": [
|
|
5901
|
+
"ice_breakers",
|
|
5902
|
+
"get_started"
|
|
5903
|
+
],
|
|
5904
|
+
"description": "ice_breakers shows questions, get_started shows one button."
|
|
5905
|
+
},
|
|
5906
|
+
"questions": {
|
|
5907
|
+
"type": "array",
|
|
5908
|
+
"items": {
|
|
5909
|
+
"type": "string",
|
|
5910
|
+
"maxLength": 80
|
|
5911
|
+
},
|
|
5912
|
+
"maxItems": 4
|
|
5913
|
+
}
|
|
5914
|
+
}
|
|
5915
|
+
}
|
|
5916
|
+
}
|
|
5917
|
+
},
|
|
5918
|
+
"file_handling": {
|
|
5919
|
+
"type": "object",
|
|
5920
|
+
"properties": {
|
|
5921
|
+
"enabled": {
|
|
5922
|
+
"type": "boolean",
|
|
5923
|
+
"description": "One switch for images, documents and videos. Enabling forces batching on."
|
|
5924
|
+
},
|
|
5925
|
+
"auto_escalate_on_image": {
|
|
5926
|
+
"type": "boolean"
|
|
5927
|
+
},
|
|
5928
|
+
"auto_escalate_on_document": {
|
|
5929
|
+
"type": "boolean"
|
|
5930
|
+
},
|
|
5931
|
+
"auto_escalate_on_video": {
|
|
5932
|
+
"type": "boolean"
|
|
5933
|
+
},
|
|
5934
|
+
"escalate_if_team_online": {
|
|
5935
|
+
"type": "boolean"
|
|
5936
|
+
}
|
|
5937
|
+
}
|
|
5938
|
+
},
|
|
5939
|
+
"followups": {
|
|
5940
|
+
"type": "object",
|
|
5941
|
+
"properties": {
|
|
5942
|
+
"enabled": {
|
|
5943
|
+
"type": "boolean"
|
|
5944
|
+
},
|
|
5945
|
+
"first_delay_minutes": {
|
|
5946
|
+
"type": "integer",
|
|
5947
|
+
"minimum": 5,
|
|
5948
|
+
"maximum": 60
|
|
5949
|
+
},
|
|
5950
|
+
"second_delay_hours": {
|
|
5951
|
+
"type": "integer",
|
|
5952
|
+
"minimum": 1,
|
|
5953
|
+
"maximum": 23
|
|
5954
|
+
},
|
|
5955
|
+
"quiet_hours": {
|
|
5956
|
+
"type": "object",
|
|
5957
|
+
"properties": {
|
|
5958
|
+
"enabled": {
|
|
5959
|
+
"type": "boolean"
|
|
5960
|
+
},
|
|
5961
|
+
"start": {
|
|
5962
|
+
"type": "string",
|
|
5963
|
+
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
|
|
5964
|
+
},
|
|
5965
|
+
"end": {
|
|
5966
|
+
"type": "string",
|
|
5967
|
+
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
|
|
5968
|
+
}
|
|
5969
|
+
}
|
|
5970
|
+
}
|
|
5971
|
+
}
|
|
5972
|
+
},
|
|
5973
|
+
"csat": {
|
|
5974
|
+
"type": "object",
|
|
5975
|
+
"properties": {
|
|
5976
|
+
"enabled": {
|
|
5977
|
+
"type": "boolean"
|
|
5978
|
+
},
|
|
5979
|
+
"template": {
|
|
5980
|
+
"type": "string",
|
|
5981
|
+
"enum": [
|
|
5982
|
+
"simple",
|
|
5983
|
+
"friendly",
|
|
5984
|
+
"professional",
|
|
5985
|
+
"custom"
|
|
5986
|
+
]
|
|
5987
|
+
},
|
|
5988
|
+
"custom_message": {
|
|
5989
|
+
"type": "string",
|
|
5990
|
+
"maxLength": 500
|
|
5991
|
+
}
|
|
5992
|
+
}
|
|
5993
|
+
},
|
|
5994
|
+
"comment_ai": {
|
|
5995
|
+
"type": "object",
|
|
5996
|
+
"properties": {
|
|
5997
|
+
"enabled": {
|
|
5998
|
+
"type": "boolean",
|
|
5999
|
+
"description": "Run the AI Comment Manager on comments no trigger claimed."
|
|
6000
|
+
},
|
|
6001
|
+
"mode": {
|
|
6002
|
+
"type": "string",
|
|
6003
|
+
"enum": [
|
|
6004
|
+
"auto",
|
|
6005
|
+
"approval"
|
|
6006
|
+
],
|
|
6007
|
+
"description": "auto posts replies at once; approval queues them under /comments."
|
|
6008
|
+
},
|
|
6009
|
+
"instructions": {
|
|
6010
|
+
"type": "string",
|
|
6011
|
+
"maxLength": 5000,
|
|
6012
|
+
"description": "Extra guidance for comment replies, on top of the knowledge base and the AI identity."
|
|
6013
|
+
},
|
|
6014
|
+
"reply_length": {
|
|
6015
|
+
"type": "string",
|
|
6016
|
+
"enum": [
|
|
6017
|
+
"short",
|
|
6018
|
+
"medium",
|
|
6019
|
+
"detailed"
|
|
6020
|
+
],
|
|
6021
|
+
"description": "short is 1 to 2 sentences, medium 2 to 3, detailed 3 to 5."
|
|
6022
|
+
},
|
|
6023
|
+
"moderation": {
|
|
6024
|
+
"type": "object",
|
|
6025
|
+
"properties": {
|
|
6026
|
+
"spam": {
|
|
6027
|
+
"type": "boolean"
|
|
6028
|
+
},
|
|
6029
|
+
"profanity": {
|
|
6030
|
+
"type": "boolean"
|
|
6031
|
+
},
|
|
6032
|
+
"negativity": {
|
|
6033
|
+
"type": "boolean"
|
|
6034
|
+
},
|
|
6035
|
+
"competitor_links": {
|
|
6036
|
+
"type": "boolean"
|
|
6037
|
+
},
|
|
6038
|
+
"self_promotion": {
|
|
6039
|
+
"type": "boolean"
|
|
6040
|
+
}
|
|
6041
|
+
},
|
|
6042
|
+
"description": "Categories that get the comment hidden. True means hide. Send only the categories to change."
|
|
6043
|
+
},
|
|
6044
|
+
"dm_on_hide": {
|
|
6045
|
+
"type": "boolean",
|
|
6046
|
+
"description": "DM the person when their comment is hidden."
|
|
6047
|
+
},
|
|
6048
|
+
"dm_message": {
|
|
6049
|
+
"type": "string",
|
|
6050
|
+
"maxLength": 1000,
|
|
6051
|
+
"description": "That DM. {name} is the commenter."
|
|
6052
|
+
},
|
|
6053
|
+
"exclude_rules": {
|
|
6054
|
+
"type": "array",
|
|
6055
|
+
"items": {
|
|
6056
|
+
"type": "object",
|
|
6057
|
+
"properties": {
|
|
6058
|
+
"type": {
|
|
6059
|
+
"type": "string",
|
|
6060
|
+
"enum": [
|
|
6061
|
+
"post_id",
|
|
6062
|
+
"keyword"
|
|
6063
|
+
]
|
|
6064
|
+
},
|
|
6065
|
+
"value": {
|
|
6066
|
+
"type": "string"
|
|
6067
|
+
}
|
|
6068
|
+
},
|
|
6069
|
+
"required": [
|
|
6070
|
+
"type",
|
|
6071
|
+
"value"
|
|
6072
|
+
]
|
|
6073
|
+
},
|
|
6074
|
+
"description": "Skip comments on these posts, or containing these words. Replaces the whole list."
|
|
6075
|
+
}
|
|
6076
|
+
}
|
|
6077
|
+
},
|
|
6078
|
+
"booking": {
|
|
6079
|
+
"type": "object",
|
|
6080
|
+
"properties": {
|
|
6081
|
+
"enabled": {
|
|
6082
|
+
"type": "boolean",
|
|
6083
|
+
"description": "AI Booking. Off means the AI declines booking requests; the portal and the API can still book."
|
|
6084
|
+
},
|
|
6085
|
+
"google_meet_invites": {
|
|
6086
|
+
"type": "boolean",
|
|
6087
|
+
"description": "Send a Google Meet link and email invite for services marked virtual. Needs Google Calendar connected (409 not_connected otherwise) and forces email to required."
|
|
6088
|
+
},
|
|
6089
|
+
"required_fields": {
|
|
6090
|
+
"type": "object",
|
|
6091
|
+
"properties": {
|
|
6092
|
+
"name": {
|
|
6093
|
+
"type": "boolean"
|
|
6094
|
+
},
|
|
6095
|
+
"email": {
|
|
6096
|
+
"type": "boolean"
|
|
6097
|
+
},
|
|
6098
|
+
"phone": {
|
|
6099
|
+
"type": "boolean"
|
|
6100
|
+
},
|
|
6101
|
+
"address": {
|
|
6102
|
+
"type": "boolean"
|
|
6103
|
+
},
|
|
6104
|
+
"vehicle": {
|
|
6105
|
+
"type": "boolean"
|
|
6106
|
+
},
|
|
6107
|
+
"cost": {
|
|
6108
|
+
"type": "boolean"
|
|
6109
|
+
},
|
|
6110
|
+
"address_parts": {
|
|
6111
|
+
"type": "object",
|
|
6112
|
+
"properties": {
|
|
6113
|
+
"city": {
|
|
6114
|
+
"type": "boolean"
|
|
6115
|
+
},
|
|
6116
|
+
"state": {
|
|
6117
|
+
"type": "boolean"
|
|
6118
|
+
},
|
|
6119
|
+
"street": {
|
|
6120
|
+
"type": "boolean"
|
|
6121
|
+
}
|
|
6122
|
+
},
|
|
6123
|
+
"description": "Only meaningful when address is required."
|
|
6124
|
+
}
|
|
6125
|
+
},
|
|
6126
|
+
"description": "What the customer must provide to book. Send only the keys to change."
|
|
6127
|
+
}
|
|
6128
|
+
}
|
|
6129
|
+
}
|
|
6130
|
+
},
|
|
6131
|
+
"additionalProperties": false
|
|
6132
|
+
}
|
|
6133
|
+
},
|
|
5569
6134
|
{
|
|
5570
6135
|
"name": "get_ai_channels",
|
|
5571
6136
|
"description": "Get the per-channel AI switches. For meta (Facebook + Instagram share one switch), sms, whatsapp and telegram: whether the channel is connected, whether the AI answers on it, and whether automations run on it.",
|