@apteva/integrations 0.15.9 → 0.15.11

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.
Files changed (60) hide show
  1. package/dist/http-executor.d.ts.map +1 -1
  2. package/dist/http-executor.js +62 -8
  3. package/dist/http-executor.js.map +1 -1
  4. package/dist/mcp-generator.js +24 -0
  5. package/dist/mcp-generator.js.map +1 -1
  6. package/dist/types.d.ts +4 -0
  7. package/dist/types.d.ts.map +1 -1
  8. package/package.json +1 -1
  9. package/src/apps/anthropic-admin.json +183 -0
  10. package/src/apps/apify.json +168 -0
  11. package/src/apps/aws-ses.json +1 -1
  12. package/src/apps/bookvault.json +309 -0
  13. package/src/apps/braintree.json +53 -0
  14. package/src/apps/brightdata.json +22 -1
  15. package/src/apps/browse-ai.json +243 -5
  16. package/src/apps/browserbase.json +41 -11
  17. package/src/apps/browserless.json +101 -0
  18. package/src/apps/bunny-stream.json +50 -28
  19. package/src/apps/ccbill.json +142 -0
  20. package/src/apps/close.json +238 -301
  21. package/src/apps/craftcloud.json +251 -202
  22. package/src/apps/dataforseo.json +1700 -2
  23. package/src/apps/deepgram.json +288 -1
  24. package/src/apps/digitalocean.json +53 -0
  25. package/src/apps/elevenlabs.json +292 -0
  26. package/src/apps/firecrawl.json +111 -0
  27. package/src/apps/gladia.json +158 -0
  28. package/src/apps/gmail.json +2 -5
  29. package/src/apps/gumroad.json +569 -0
  30. package/src/apps/imaterialise.json +171 -262
  31. package/src/apps/ingram-coresource.json +119 -0
  32. package/src/apps/jlcpcb.json +43 -0
  33. package/src/apps/jungle-scout.json +166 -0
  34. package/src/apps/ko-fi.json +34 -0
  35. package/src/apps/lemon-squeezy.json +270 -0
  36. package/src/apps/lulu-print.json +266 -0
  37. package/src/apps/mollie.json +219 -0
  38. package/src/apps/paddle.json +199 -9
  39. package/src/apps/payhip.json +162 -0
  40. package/src/apps/paystack.json +207 -0
  41. package/src/apps/pipedrive.json +221 -212
  42. package/src/apps/publishdrive.json +132 -0
  43. package/src/apps/razorpay.json +207 -0
  44. package/src/apps/ringover.json +69 -0
  45. package/src/apps/runpod.json +727 -0
  46. package/src/apps/salesforce-crm.json +192 -233
  47. package/src/apps/sculpteo.json +98 -180
  48. package/src/apps/segpay.json +215 -0
  49. package/src/apps/shapeways.json +114 -136
  50. package/src/apps/slant3d.json +260 -168
  51. package/src/apps/soniox.json +194 -0
  52. package/src/apps/speechmatics.json +167 -0
  53. package/src/apps/streetlib.json +60 -0
  54. package/src/apps/stripe.json +1 -0
  55. package/src/apps/surfer.json +511 -0
  56. package/src/apps/twitter-api.json +14 -1
  57. package/src/apps/verotel.json +124 -0
  58. package/src/apps/whop.json +364 -0
  59. package/src/apps/zendesk-sell.json +248 -0
  60. package/src/apps/zendesk.json +190 -259
@@ -1,359 +1,296 @@
1
1
  {
2
2
  "slug": "close",
3
3
  "name": "Close CRM",
4
- "description": "MCP server for Close.com CRM operations - leads, contacts, opportunities, and activities",
4
+ "description": "Close CRM API for leads, contacts, opportunities, activities, tasks, sequences, statuses, pipelines, custom fields, webhooks, and events.",
5
5
  "logo": "https://www.google.com/s2/favicons?domain=close.com&sz=128",
6
- "categories": [
7
- "crm",
8
- "close",
9
- "sales",
10
- "leads",
11
- "opportunities"
12
- ],
6
+ "categories": ["crm", "close", "sales", "leads", "opportunities"],
13
7
  "base_url": "https://api.close.com/api/v1",
14
8
  "auth": {
15
- "types": [
16
- "bearer"
17
- ],
9
+ "types": ["basic"],
18
10
  "headers": {
19
- "Authorization": "Bearer {{token}}"
11
+ "Authorization": "Basic {{basic_auth}}"
20
12
  },
21
13
  "credential_fields": [
22
14
  {
23
- "name": "token",
24
- "label": "API Key"
15
+ "name": "api_key",
16
+ "label": "API Key",
17
+ "type": "password",
18
+ "description": "Close API key. The runtime sends it using HTTP Basic auth as api_key followed by an empty password, per Close's API docs."
25
19
  }
26
20
  ]
27
21
  },
22
+ "health_check": {
23
+ "tool": "list_users"
24
+ },
28
25
  "tools": [
29
26
  {
30
27
  "name": "list_leads",
31
- "description": "List leads from Close CRM",
28
+ "description": "List leads. Close supports Lucene-style filtering in query.",
32
29
  "method": "GET",
33
- "path": "/list-leads",
34
- "input_schema": {
35
- "type": "object",
36
- "properties": {
37
- "limit": {
38
- "type": "number",
39
- "description": "Maximum results",
40
- "default": 100
41
- },
42
- "skip": {
43
- "type": "number",
44
- "description": "Results to skip"
45
- },
46
- "query": {
47
- "type": "string",
48
- "description": "Search query"
49
- },
50
- "fields": {
51
- "type": "array",
52
- "items": {
53
- "type": "string"
54
- },
55
- "description": "Fields to return"
56
- }
57
- }
58
- }
30
+ "path": "/lead/",
31
+ "query_params": ["limit", "skip", "query", "_fields"],
32
+ "input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "query": {"type": "string"}, "_fields": {"type": "string", "description": "Comma-separated fields to return."}}}
59
33
  },
60
34
  {
61
35
  "name": "get_lead",
62
- "description": "Get a specific lead from Close CRM",
36
+ "description": "Get one lead by ID.",
63
37
  "method": "GET",
64
- "path": "/get-lead",
65
- "input_schema": {
66
- "type": "object",
67
- "properties": {
68
- "leadId": {
69
- "type": "string",
70
- "description": "ID of the lead"
71
- }
72
- },
73
- "required": [
74
- "leadId"
75
- ]
76
- }
38
+ "path": "/lead/{leadId}/",
39
+ "path_params": ["leadId"],
40
+ "input_schema": {"type": "object", "properties": {"leadId": {"type": "string"}}, "required": ["leadId"]}
77
41
  },
78
42
  {
79
43
  "name": "create_lead",
80
- "description": "Create a new lead in Close CRM",
44
+ "description": "Create a lead. Common fields include name, description, url, status_id, contacts, custom fields, and organization fields.",
81
45
  "method": "POST",
82
- "path": "/create-lead",
83
- "input_schema": {
84
- "type": "object",
85
- "properties": {
86
- "name": {
87
- "type": "string",
88
- "description": "Lead name"
89
- },
90
- "description": {
91
- "type": "string",
92
- "description": "Lead description"
93
- },
94
- "url": {
95
- "type": "string",
96
- "description": "Website URL"
97
- },
98
- "status_id": {
99
- "type": "string",
100
- "description": "Status ID"
101
- },
102
- "contacts": {
103
- "type": "array",
104
- "description": "Array of contact objects"
105
- }
106
- },
107
- "required": [
108
- "name"
109
- ]
110
- }
46
+ "path": "/lead/",
47
+ "input_schema": {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "url": {"type": "string"}, "status_id": {"type": "string"}, "contacts": {"type": "array"}}, "required": ["name"]}
111
48
  },
112
49
  {
113
50
  "name": "update_lead",
114
- "description": "Update an existing lead in Close CRM",
51
+ "description": "Update a lead by ID.",
115
52
  "method": "PUT",
116
- "path": "/update-lead",
117
- "input_schema": {
118
- "type": "object",
119
- "properties": {
120
- "leadId": {
121
- "type": "string",
122
- "description": "ID of the lead to update"
123
- },
124
- "name": {
125
- "type": "string",
126
- "description": "Lead name"
127
- },
128
- "description": {
129
- "type": "string",
130
- "description": "Lead description"
131
- },
132
- "status_id": {
133
- "type": "string",
134
- "description": "Status ID"
135
- }
136
- },
137
- "required": [
138
- "leadId"
139
- ]
140
- }
53
+ "path": "/lead/{leadId}/",
54
+ "path_params": ["leadId"],
55
+ "input_schema": {"type": "object", "properties": {"leadId": {"type": "string"}, "name": {"type": "string"}, "description": {"type": "string"}, "url": {"type": "string"}, "status_id": {"type": "string"}}, "required": ["leadId"]}
56
+ },
57
+ {
58
+ "name": "delete_lead",
59
+ "description": "Delete one lead by ID.",
60
+ "method": "DELETE",
61
+ "path": "/lead/{leadId}/",
62
+ "path_params": ["leadId"],
63
+ "input_schema": {"type": "object", "properties": {"leadId": {"type": "string"}}, "required": ["leadId"]}
141
64
  },
142
65
  {
143
66
  "name": "list_contacts",
144
- "description": "List contacts from Close CRM",
67
+ "description": "List contacts, optionally filtered by lead_id or query.",
145
68
  "method": "GET",
146
- "path": "/list-contacts",
147
- "input_schema": {
148
- "type": "object",
149
- "properties": {
150
- "limit": {
151
- "type": "number",
152
- "description": "Maximum results",
153
- "default": 100
154
- },
155
- "skip": {
156
- "type": "number",
157
- "description": "Results to skip"
158
- },
159
- "leadId": {
160
- "type": "string",
161
- "description": "Filter by lead ID"
162
- }
163
- }
164
- }
69
+ "path": "/contact/",
70
+ "query_params": ["limit", "skip", "query", "lead_id", "_fields"],
71
+ "input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "query": {"type": "string"}, "lead_id": {"type": "string"}, "_fields": {"type": "string"}}}
72
+ },
73
+ {
74
+ "name": "get_contact",
75
+ "description": "Get one contact by ID.",
76
+ "method": "GET",
77
+ "path": "/contact/{contactId}/",
78
+ "path_params": ["contactId"],
79
+ "input_schema": {"type": "object", "properties": {"contactId": {"type": "string"}}, "required": ["contactId"]}
165
80
  },
166
81
  {
167
82
  "name": "create_contact",
168
- "description": "Create a new contact in Close CRM",
83
+ "description": "Create a contact under a lead. Common fields include lead_id, name, title, emails, phones, urls, and custom fields.",
169
84
  "method": "POST",
170
- "path": "/create-contact",
171
- "input_schema": {
172
- "type": "object",
173
- "properties": {
174
- "lead_id": {
175
- "type": "string",
176
- "description": "Lead ID to associate with"
177
- },
178
- "name": {
179
- "type": "string",
180
- "description": "Contact name"
181
- },
182
- "title": {
183
- "type": "string",
184
- "description": "Job title"
185
- },
186
- "emails": {
187
- "type": "array",
188
- "description": "Array of email objects"
189
- },
190
- "phones": {
191
- "type": "array",
192
- "description": "Array of phone objects"
193
- }
194
- },
195
- "required": [
196
- "lead_id",
197
- "name"
198
- ]
199
- }
85
+ "path": "/contact/",
86
+ "input_schema": {"type": "object", "properties": {"lead_id": {"type": "string"}, "name": {"type": "string"}, "title": {"type": "string"}, "emails": {"type": "array"}, "phones": {"type": "array"}, "urls": {"type": "array"}}, "required": ["lead_id", "name"]}
87
+ },
88
+ {
89
+ "name": "update_contact",
90
+ "description": "Update a contact by ID.",
91
+ "method": "PUT",
92
+ "path": "/contact/{contactId}/",
93
+ "path_params": ["contactId"],
94
+ "input_schema": {"type": "object", "properties": {"contactId": {"type": "string"}, "name": {"type": "string"}, "title": {"type": "string"}, "emails": {"type": "array"}, "phones": {"type": "array"}, "urls": {"type": "array"}}, "required": ["contactId"]}
95
+ },
96
+ {
97
+ "name": "delete_contact",
98
+ "description": "Delete one contact by ID.",
99
+ "method": "DELETE",
100
+ "path": "/contact/{contactId}/",
101
+ "path_params": ["contactId"],
102
+ "input_schema": {"type": "object", "properties": {"contactId": {"type": "string"}}, "required": ["contactId"]}
200
103
  },
201
104
  {
202
105
  "name": "list_opportunities",
203
- "description": "List opportunities from Close CRM",
106
+ "description": "List opportunities, optionally filtered by lead, status, user, or query.",
204
107
  "method": "GET",
205
- "path": "/list-opportunities",
206
- "input_schema": {
207
- "type": "object",
208
- "properties": {
209
- "limit": {
210
- "type": "number",
211
- "description": "Maximum results",
212
- "default": 100
213
- },
214
- "skip": {
215
- "type": "number",
216
- "description": "Results to skip"
217
- },
218
- "leadId": {
219
- "type": "string",
220
- "description": "Filter by lead ID"
221
- },
222
- "statusId": {
223
- "type": "string",
224
- "description": "Filter by status ID"
225
- }
226
- }
227
- }
108
+ "path": "/opportunity/",
109
+ "query_params": ["limit", "skip", "query", "lead_id", "status_id", "user_id", "_fields"],
110
+ "input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "query": {"type": "string"}, "lead_id": {"type": "string"}, "status_id": {"type": "string"}, "user_id": {"type": "string"}, "_fields": {"type": "string"}}}
111
+ },
112
+ {
113
+ "name": "get_opportunity",
114
+ "description": "Get one opportunity by ID.",
115
+ "method": "GET",
116
+ "path": "/opportunity/{opportunityId}/",
117
+ "path_params": ["opportunityId"],
118
+ "input_schema": {"type": "object", "properties": {"opportunityId": {"type": "string"}}, "required": ["opportunityId"]}
228
119
  },
229
120
  {
230
121
  "name": "create_opportunity",
231
- "description": "Create a new opportunity in Close CRM",
122
+ "description": "Create an opportunity. Common fields include lead_id, status_id, value, value_period, confidence, date_won, date_lost, note, and user_id.",
232
123
  "method": "POST",
233
- "path": "/create-opportunity",
234
- "input_schema": {
235
- "type": "object",
236
- "properties": {
237
- "lead_id": {
238
- "type": "string",
239
- "description": "Lead ID to associate with"
240
- },
241
- "status_id": {
242
- "type": "string",
243
- "description": "Status ID"
244
- },
245
- "value": {
246
- "type": "number",
247
- "description": "Opportunity value"
248
- },
249
- "value_period": {
250
- "type": "string",
251
- "description": "Value period (one_time, monthly, annual)"
252
- },
253
- "confidence": {
254
- "type": "number",
255
- "description": "Win confidence (0-100)"
256
- },
257
- "note": {
258
- "type": "string",
259
- "description": "Note text"
260
- }
261
- },
262
- "required": [
263
- "lead_id",
264
- "status_id"
265
- ]
266
- }
124
+ "path": "/opportunity/",
125
+ "input_schema": {"type": "object", "properties": {"lead_id": {"type": "string"}, "status_id": {"type": "string"}, "value": {"type": "number"}, "value_period": {"type": "string"}, "confidence": {"type": "number"}, "date_won": {"type": "string"}, "date_lost": {"type": "string"}, "note": {"type": "string"}, "user_id": {"type": "string"}}, "required": ["lead_id", "status_id"]}
126
+ },
127
+ {
128
+ "name": "update_opportunity",
129
+ "description": "Update an opportunity by ID.",
130
+ "method": "PUT",
131
+ "path": "/opportunity/{opportunityId}/",
132
+ "path_params": ["opportunityId"],
133
+ "input_schema": {"type": "object", "properties": {"opportunityId": {"type": "string"}, "status_id": {"type": "string"}, "value": {"type": "number"}, "value_period": {"type": "string"}, "confidence": {"type": "number"}, "date_won": {"type": "string"}, "date_lost": {"type": "string"}, "note": {"type": "string"}, "user_id": {"type": "string"}}, "required": ["opportunityId"]}
134
+ },
135
+ {
136
+ "name": "delete_opportunity",
137
+ "description": "Delete one opportunity by ID.",
138
+ "method": "DELETE",
139
+ "path": "/opportunity/{opportunityId}/",
140
+ "path_params": ["opportunityId"],
141
+ "input_schema": {"type": "object", "properties": {"opportunityId": {"type": "string"}}, "required": ["opportunityId"]}
142
+ },
143
+ {
144
+ "name": "list_tasks",
145
+ "description": "List tasks, optionally filtered by lead, user, status, type, or query.",
146
+ "method": "GET",
147
+ "path": "/task/",
148
+ "query_params": ["limit", "skip", "query", "lead_id", "assigned_to", "status", "type", "_fields"],
149
+ "input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "query": {"type": "string"}, "lead_id": {"type": "string"}, "assigned_to": {"type": "string"}, "status": {"type": "string"}, "type": {"type": "string"}, "_fields": {"type": "string"}}}
150
+ },
151
+ {
152
+ "name": "create_task",
153
+ "description": "Create a task. Include type, lead_id, text, date, assigned_to, and related fields accepted by Close.",
154
+ "method": "POST",
155
+ "path": "/task/",
156
+ "input_schema": {"type": "object", "properties": {"type": {"type": "string"}, "lead_id": {"type": "string"}, "text": {"type": "string"}, "date": {"type": "string"}, "assigned_to": {"type": "string"}}, "required": ["type"]}
157
+ },
158
+ {
159
+ "name": "update_task",
160
+ "description": "Update a task by ID.",
161
+ "method": "PUT",
162
+ "path": "/task/{taskId}/",
163
+ "path_params": ["taskId"],
164
+ "input_schema": {"type": "object", "properties": {"taskId": {"type": "string"}, "text": {"type": "string"}, "date": {"type": "string"}, "assigned_to": {"type": "string"}, "is_complete": {"type": "boolean"}}, "required": ["taskId"]}
165
+ },
166
+ {
167
+ "name": "delete_task",
168
+ "description": "Delete one task by ID.",
169
+ "method": "DELETE",
170
+ "path": "/task/{taskId}/",
171
+ "path_params": ["taskId"],
172
+ "input_schema": {"type": "object", "properties": {"taskId": {"type": "string"}}, "required": ["taskId"]}
267
173
  },
268
174
  {
269
175
  "name": "list_activities",
270
- "description": "List activities from Close CRM",
176
+ "description": "List activities across calls, emails, notes, SMS, meetings, and custom activities.",
271
177
  "method": "GET",
272
- "path": "/list-activities",
273
- "input_schema": {
274
- "type": "object",
275
- "properties": {
276
- "limit": {
277
- "type": "number",
278
- "description": "Maximum results",
279
- "default": 100
280
- },
281
- "skip": {
282
- "type": "number",
283
- "description": "Results to skip"
284
- },
285
- "leadId": {
286
- "type": "string",
287
- "description": "Filter by lead ID"
288
- },
289
- "type": {
290
- "type": "string",
291
- "description": "Activity type"
292
- }
293
- }
294
- }
178
+ "path": "/activity/",
179
+ "query_params": ["limit", "skip", "lead_id", "user_id", "type", "date_created__gte", "date_updated__gte", "_fields"],
180
+ "input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "lead_id": {"type": "string"}, "user_id": {"type": "string"}, "type": {"type": "string"}, "date_created__gte": {"type": "string"}, "date_updated__gte": {"type": "string"}, "_fields": {"type": "string"}}}
181
+ },
182
+ {
183
+ "name": "list_calls",
184
+ "description": "List call activities.",
185
+ "method": "GET",
186
+ "path": "/activity/call/",
187
+ "query_params": ["limit", "skip", "lead_id", "user_id", "date_created__gte", "date_updated__gte", "_fields"],
188
+ "input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "lead_id": {"type": "string"}, "user_id": {"type": "string"}, "date_created__gte": {"type": "string"}, "date_updated__gte": {"type": "string"}, "_fields": {"type": "string"}}}
189
+ },
190
+ {
191
+ "name": "list_emails",
192
+ "description": "List email activities.",
193
+ "method": "GET",
194
+ "path": "/activity/email/",
195
+ "query_params": ["limit", "skip", "lead_id", "user_id", "date_created__gte", "date_updated__gte", "_fields"],
196
+ "input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "lead_id": {"type": "string"}, "user_id": {"type": "string"}, "date_created__gte": {"type": "string"}, "date_updated__gte": {"type": "string"}, "_fields": {"type": "string"}}}
295
197
  },
296
198
  {
297
- "name": "create_activity",
298
- "description": "Create a new activity in Close CRM",
199
+ "name": "create_note_activity",
200
+ "description": "Create a note activity linked to a lead or contact.",
299
201
  "method": "POST",
300
- "path": "/create-activity",
301
- "input_schema": {
302
- "type": "object",
303
- "properties": {
304
- "type": {
305
- "type": "string",
306
- "description": "Activity type (Note, Call, Email, Meeting)"
307
- },
308
- "lead_id": {
309
- "type": "string",
310
- "description": "Lead ID to associate with"
311
- },
312
- "note": {
313
- "type": "string",
314
- "description": "Note content"
315
- },
316
- "subject": {
317
- "type": "string",
318
- "description": "Subject (for emails)"
319
- },
320
- "body_text": {
321
- "type": "string",
322
- "description": "Body text (for emails)"
323
- }
324
- },
325
- "required": [
326
- "type",
327
- "lead_id"
328
- ]
329
- }
202
+ "path": "/activity/note/",
203
+ "input_schema": {"type": "object", "properties": {"lead_id": {"type": "string"}, "contact_id": {"type": "string"}, "note": {"type": "string"}}, "required": ["lead_id", "note"]}
330
204
  },
331
205
  {
332
- "name": "search",
333
- "description": "Search across Close CRM",
206
+ "name": "list_sequences",
207
+ "description": "List Close sequences.",
334
208
  "method": "GET",
335
- "path": "/search",
336
- "input_schema": {
337
- "type": "object",
338
- "properties": {
339
- "query": {
340
- "type": "string",
341
- "description": "Search query string"
342
- },
343
- "limit": {
344
- "type": "number",
345
- "description": "Maximum results",
346
- "default": 100
347
- },
348
- "skip": {
349
- "type": "number",
350
- "description": "Results to skip"
351
- }
352
- },
353
- "required": [
354
- "query"
355
- ]
356
- }
209
+ "path": "/sequence/",
210
+ "query_params": ["limit", "skip", "_fields"],
211
+ "input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "_fields": {"type": "string"}}}
212
+ },
213
+ {
214
+ "name": "list_sequence_subscriptions",
215
+ "description": "List sequence subscriptions.",
216
+ "method": "GET",
217
+ "path": "/sequence_subscription/",
218
+ "query_params": ["limit", "skip", "lead_id", "contact_id", "sequence_id", "status", "_fields"],
219
+ "input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "lead_id": {"type": "string"}, "contact_id": {"type": "string"}, "sequence_id": {"type": "string"}, "status": {"type": "string"}, "_fields": {"type": "string"}}}
220
+ },
221
+ {
222
+ "name": "create_sequence_subscription",
223
+ "description": "Subscribe a contact to a sequence.",
224
+ "method": "POST",
225
+ "path": "/sequence_subscription/",
226
+ "input_schema": {"type": "object", "properties": {"sequence_id": {"type": "string"}, "contact_id": {"type": "string"}, "sender_account_id": {"type": "string"}, "user_id": {"type": "string"}}, "required": ["sequence_id", "contact_id"]}
227
+ },
228
+ {
229
+ "name": "list_webhooks",
230
+ "description": "List Close webhooks.",
231
+ "method": "GET",
232
+ "path": "/webhook/",
233
+ "query_params": ["limit", "skip"],
234
+ "input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}}}
235
+ },
236
+ {
237
+ "name": "create_webhook",
238
+ "description": "Create a Close webhook subscription. Include url and events as documented by Close.",
239
+ "method": "POST",
240
+ "path": "/webhook/",
241
+ "input_schema": {"type": "object", "properties": {"url": {"type": "string"}, "events": {"type": "array"}, "is_active": {"type": "boolean"}}, "required": ["url", "events"]}
242
+ },
243
+ {
244
+ "name": "list_events",
245
+ "description": "List Close event stream entries.",
246
+ "method": "GET",
247
+ "path": "/event/",
248
+ "query_params": ["limit", "skip", "object_type", "action", "date_created__gte", "_fields"],
249
+ "input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "object_type": {"type": "string"}, "action": {"type": "string"}, "date_created__gte": {"type": "string"}, "_fields": {"type": "string"}}}
250
+ },
251
+ {
252
+ "name": "list_custom_fields",
253
+ "description": "List custom fields for an object type, for example lead, contact, opportunity, activity, or user.",
254
+ "method": "GET",
255
+ "path": "/custom_field/{objectType}/",
256
+ "path_params": ["objectType"],
257
+ "input_schema": {"type": "object", "properties": {"objectType": {"type": "string"}}, "required": ["objectType"]}
258
+ },
259
+ {
260
+ "name": "list_pipelines",
261
+ "description": "List opportunity pipelines.",
262
+ "method": "GET",
263
+ "path": "/pipeline/",
264
+ "input_schema": {"type": "object", "properties": {}}
265
+ },
266
+ {
267
+ "name": "list_opportunity_statuses",
268
+ "description": "List opportunity statuses/stages.",
269
+ "method": "GET",
270
+ "path": "/status/opportunity/",
271
+ "input_schema": {"type": "object", "properties": {}}
272
+ },
273
+ {
274
+ "name": "list_lead_statuses",
275
+ "description": "List lead statuses.",
276
+ "method": "GET",
277
+ "path": "/status/lead/",
278
+ "input_schema": {"type": "object", "properties": {}}
279
+ },
280
+ {
281
+ "name": "list_users",
282
+ "description": "List Close users.",
283
+ "method": "GET",
284
+ "path": "/user/",
285
+ "query_params": ["limit", "skip", "_fields"],
286
+ "input_schema": {"type": "object", "properties": {"limit": {"type": "number", "default": 100}, "skip": {"type": "number", "default": 0}, "_fields": {"type": "string"}}}
287
+ },
288
+ {
289
+ "name": "get_organization",
290
+ "description": "Get the current Close organization.",
291
+ "method": "GET",
292
+ "path": "/organization/",
293
+ "input_schema": {"type": "object", "properties": {}}
357
294
  }
358
295
  ]
359
296
  }