@superagnt/attio-crm 2.0.3 → 2.0.5
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/index.js +176 -175
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -7,7 +7,8 @@ import { homedir as _homedir } from 'node:os'
|
|
|
7
7
|
import { join as _join } from 'node:path'
|
|
8
8
|
import { existsSync as _existsSync, readFileSync as _readFileSync } from 'node:fs'
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
// SUPERAGNT_API_URL overrides the API origin (QA/staging); customers never set it.
|
|
11
|
+
const BASE_URL = (process.env.SUPERAGNT_API_URL || 'https://api.superagnt.com') + '/v1/connections/attio'
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
// ── Auth Module (inlined) ────────────────────────────────────────────────────
|
|
@@ -95,11 +96,11 @@ export default function register(api) {
|
|
|
95
96
|
api.registerTool({
|
|
96
97
|
name: 'superagnt_connection_attio_get_v2_objects',
|
|
97
98
|
description: "List objects",
|
|
98
|
-
|
|
99
|
+
parameters: {
|
|
99
100
|
"type": "object",
|
|
100
101
|
"properties": {}
|
|
101
102
|
},
|
|
102
|
-
execute: async (input) => {
|
|
103
|
+
execute: async (_toolCallId, input) => {
|
|
103
104
|
const key = ensureApiKey()
|
|
104
105
|
const params = parseToolInput(input)
|
|
105
106
|
return callSuperagnt(key, 'GET', '/v2/objects', params)
|
|
@@ -109,7 +110,7 @@ export default function register(api) {
|
|
|
109
110
|
api.registerTool({
|
|
110
111
|
name: 'superagnt_connection_attio_post_v2_objects',
|
|
111
112
|
description: "Create an object",
|
|
112
|
-
|
|
113
|
+
parameters: {
|
|
113
114
|
"type": "object",
|
|
114
115
|
"properties": {
|
|
115
116
|
"data": {
|
|
@@ -121,7 +122,7 @@ export default function register(api) {
|
|
|
121
122
|
"data"
|
|
122
123
|
]
|
|
123
124
|
},
|
|
124
|
-
execute: async (input) => {
|
|
125
|
+
execute: async (_toolCallId, input) => {
|
|
125
126
|
const key = ensureApiKey()
|
|
126
127
|
const params = parseToolInput(input)
|
|
127
128
|
return callSuperagnt(key, 'POST', '/v2/objects', undefined, params)
|
|
@@ -131,7 +132,7 @@ export default function register(api) {
|
|
|
131
132
|
api.registerTool({
|
|
132
133
|
name: 'superagnt_connection_attio_get_v2_objects__object_',
|
|
133
134
|
description: "Get an object",
|
|
134
|
-
|
|
135
|
+
parameters: {
|
|
135
136
|
"type": "object",
|
|
136
137
|
"properties": {
|
|
137
138
|
"object": {
|
|
@@ -143,7 +144,7 @@ export default function register(api) {
|
|
|
143
144
|
"object"
|
|
144
145
|
]
|
|
145
146
|
},
|
|
146
|
-
execute: async (input) => {
|
|
147
|
+
execute: async (_toolCallId, input) => {
|
|
147
148
|
const key = ensureApiKey()
|
|
148
149
|
const params = parseToolInput(input)
|
|
149
150
|
return callSuperagnt(key, 'GET', '/v2/objects/{object}', params)
|
|
@@ -153,7 +154,7 @@ export default function register(api) {
|
|
|
153
154
|
api.registerTool({
|
|
154
155
|
name: 'superagnt_connection_attio_patch_v2_objects__object_',
|
|
155
156
|
description: "Update an object",
|
|
156
|
-
|
|
157
|
+
parameters: {
|
|
157
158
|
"type": "object",
|
|
158
159
|
"properties": {
|
|
159
160
|
"object": {
|
|
@@ -170,7 +171,7 @@ export default function register(api) {
|
|
|
170
171
|
"data"
|
|
171
172
|
]
|
|
172
173
|
},
|
|
173
|
-
execute: async (input) => {
|
|
174
|
+
execute: async (_toolCallId, input) => {
|
|
174
175
|
const key = ensureApiKey()
|
|
175
176
|
const params = parseToolInput(input)
|
|
176
177
|
return callSuperagnt(key, 'PATCH', '/v2/objects/{object}', undefined, params)
|
|
@@ -180,7 +181,7 @@ export default function register(api) {
|
|
|
180
181
|
api.registerTool({
|
|
181
182
|
name: 'superagnt_connection_attio_get_v2_objects__object__views',
|
|
182
183
|
description: "List views for object",
|
|
183
|
-
|
|
184
|
+
parameters: {
|
|
184
185
|
"type": "object",
|
|
185
186
|
"properties": {
|
|
186
187
|
"object": {
|
|
@@ -204,7 +205,7 @@ export default function register(api) {
|
|
|
204
205
|
"object"
|
|
205
206
|
]
|
|
206
207
|
},
|
|
207
|
-
execute: async (input) => {
|
|
208
|
+
execute: async (_toolCallId, input) => {
|
|
208
209
|
const key = ensureApiKey()
|
|
209
210
|
const params = parseToolInput(input)
|
|
210
211
|
return callSuperagnt(key, 'GET', '/v2/objects/{object}/views', params)
|
|
@@ -214,7 +215,7 @@ export default function register(api) {
|
|
|
214
215
|
api.registerTool({
|
|
215
216
|
name: 'superagnt_connection_attio_list_attributes',
|
|
216
217
|
description: "List attributes",
|
|
217
|
-
|
|
218
|
+
parameters: {
|
|
218
219
|
"type": "object",
|
|
219
220
|
"properties": {
|
|
220
221
|
"target": {
|
|
@@ -243,7 +244,7 @@ export default function register(api) {
|
|
|
243
244
|
"identifier"
|
|
244
245
|
]
|
|
245
246
|
},
|
|
246
|
-
execute: async (input) => {
|
|
247
|
+
execute: async (_toolCallId, input) => {
|
|
247
248
|
const key = ensureApiKey()
|
|
248
249
|
const params = parseToolInput(input)
|
|
249
250
|
return callSuperagnt(key, 'GET', '/v2/{target}/{identifier}/attributes', params)
|
|
@@ -253,7 +254,7 @@ export default function register(api) {
|
|
|
253
254
|
api.registerTool({
|
|
254
255
|
name: 'superagnt_connection_attio_create_attribute',
|
|
255
256
|
description: "Create an attribute",
|
|
256
|
-
|
|
257
|
+
parameters: {
|
|
257
258
|
"type": "object",
|
|
258
259
|
"properties": {
|
|
259
260
|
"target": {
|
|
@@ -275,7 +276,7 @@ export default function register(api) {
|
|
|
275
276
|
"data"
|
|
276
277
|
]
|
|
277
278
|
},
|
|
278
|
-
execute: async (input) => {
|
|
279
|
+
execute: async (_toolCallId, input) => {
|
|
279
280
|
const key = ensureApiKey()
|
|
280
281
|
const params = parseToolInput(input)
|
|
281
282
|
return callSuperagnt(key, 'POST', '/v2/{target}/{identifier}/attributes', undefined, params)
|
|
@@ -285,7 +286,7 @@ export default function register(api) {
|
|
|
285
286
|
api.registerTool({
|
|
286
287
|
name: 'superagnt_connection_attio_get_attribute',
|
|
287
288
|
description: "Get an attribute",
|
|
288
|
-
|
|
289
|
+
parameters: {
|
|
289
290
|
"type": "object",
|
|
290
291
|
"properties": {
|
|
291
292
|
"target": {
|
|
@@ -307,7 +308,7 @@ export default function register(api) {
|
|
|
307
308
|
"attribute"
|
|
308
309
|
]
|
|
309
310
|
},
|
|
310
|
-
execute: async (input) => {
|
|
311
|
+
execute: async (_toolCallId, input) => {
|
|
311
312
|
const key = ensureApiKey()
|
|
312
313
|
const params = parseToolInput(input)
|
|
313
314
|
return callSuperagnt(key, 'GET', '/v2/{target}/{identifier}/attributes/{attribute}', params)
|
|
@@ -317,7 +318,7 @@ export default function register(api) {
|
|
|
317
318
|
api.registerTool({
|
|
318
319
|
name: 'superagnt_connection_attio_update_attribute',
|
|
319
320
|
description: "Update an attribute",
|
|
320
|
-
|
|
321
|
+
parameters: {
|
|
321
322
|
"type": "object",
|
|
322
323
|
"properties": {
|
|
323
324
|
"target": {
|
|
@@ -344,7 +345,7 @@ export default function register(api) {
|
|
|
344
345
|
"data"
|
|
345
346
|
]
|
|
346
347
|
},
|
|
347
|
-
execute: async (input) => {
|
|
348
|
+
execute: async (_toolCallId, input) => {
|
|
348
349
|
const key = ensureApiKey()
|
|
349
350
|
const params = parseToolInput(input)
|
|
350
351
|
return callSuperagnt(key, 'PATCH', '/v2/{target}/{identifier}/attributes/{attribute}', undefined, params)
|
|
@@ -354,7 +355,7 @@ export default function register(api) {
|
|
|
354
355
|
api.registerTool({
|
|
355
356
|
name: 'superagnt_connection_attio_list_attribute_options',
|
|
356
357
|
description: "List select options",
|
|
357
|
-
|
|
358
|
+
parameters: {
|
|
358
359
|
"type": "object",
|
|
359
360
|
"properties": {
|
|
360
361
|
"target": {
|
|
@@ -380,7 +381,7 @@ export default function register(api) {
|
|
|
380
381
|
"attribute"
|
|
381
382
|
]
|
|
382
383
|
},
|
|
383
|
-
execute: async (input) => {
|
|
384
|
+
execute: async (_toolCallId, input) => {
|
|
384
385
|
const key = ensureApiKey()
|
|
385
386
|
const params = parseToolInput(input)
|
|
386
387
|
return callSuperagnt(key, 'GET', '/v2/{target}/{identifier}/attributes/{attribute}/options', params)
|
|
@@ -390,7 +391,7 @@ export default function register(api) {
|
|
|
390
391
|
api.registerTool({
|
|
391
392
|
name: 'superagnt_connection_attio_create_attribute_option',
|
|
392
393
|
description: "Create a select option",
|
|
393
|
-
|
|
394
|
+
parameters: {
|
|
394
395
|
"type": "object",
|
|
395
396
|
"properties": {
|
|
396
397
|
"target": {
|
|
@@ -417,7 +418,7 @@ export default function register(api) {
|
|
|
417
418
|
"data"
|
|
418
419
|
]
|
|
419
420
|
},
|
|
420
|
-
execute: async (input) => {
|
|
421
|
+
execute: async (_toolCallId, input) => {
|
|
421
422
|
const key = ensureApiKey()
|
|
422
423
|
const params = parseToolInput(input)
|
|
423
424
|
return callSuperagnt(key, 'POST', '/v2/{target}/{identifier}/attributes/{attribute}/options', undefined, params)
|
|
@@ -427,7 +428,7 @@ export default function register(api) {
|
|
|
427
428
|
api.registerTool({
|
|
428
429
|
name: 'superagnt_connection_attio_update_attribute_option',
|
|
429
430
|
description: "Update a select option",
|
|
430
|
-
|
|
431
|
+
parameters: {
|
|
431
432
|
"type": "object",
|
|
432
433
|
"properties": {
|
|
433
434
|
"target": {
|
|
@@ -459,7 +460,7 @@ export default function register(api) {
|
|
|
459
460
|
"data"
|
|
460
461
|
]
|
|
461
462
|
},
|
|
462
|
-
execute: async (input) => {
|
|
463
|
+
execute: async (_toolCallId, input) => {
|
|
463
464
|
const key = ensureApiKey()
|
|
464
465
|
const params = parseToolInput(input)
|
|
465
466
|
return callSuperagnt(key, 'PATCH', '/v2/{target}/{identifier}/attributes/{attribute}/options/{option}', undefined, params)
|
|
@@ -469,7 +470,7 @@ export default function register(api) {
|
|
|
469
470
|
api.registerTool({
|
|
470
471
|
name: 'superagnt_connection_attio_list_attribute_statuses',
|
|
471
472
|
description: "List statuses",
|
|
472
|
-
|
|
473
|
+
parameters: {
|
|
473
474
|
"type": "object",
|
|
474
475
|
"properties": {
|
|
475
476
|
"target": {
|
|
@@ -495,7 +496,7 @@ export default function register(api) {
|
|
|
495
496
|
"attribute"
|
|
496
497
|
]
|
|
497
498
|
},
|
|
498
|
-
execute: async (input) => {
|
|
499
|
+
execute: async (_toolCallId, input) => {
|
|
499
500
|
const key = ensureApiKey()
|
|
500
501
|
const params = parseToolInput(input)
|
|
501
502
|
return callSuperagnt(key, 'GET', '/v2/{target}/{identifier}/attributes/{attribute}/statuses', params)
|
|
@@ -505,7 +506,7 @@ export default function register(api) {
|
|
|
505
506
|
api.registerTool({
|
|
506
507
|
name: 'superagnt_connection_attio_create_attribute_status',
|
|
507
508
|
description: "Create a status",
|
|
508
|
-
|
|
509
|
+
parameters: {
|
|
509
510
|
"type": "object",
|
|
510
511
|
"properties": {
|
|
511
512
|
"target": {
|
|
@@ -532,7 +533,7 @@ export default function register(api) {
|
|
|
532
533
|
"data"
|
|
533
534
|
]
|
|
534
535
|
},
|
|
535
|
-
execute: async (input) => {
|
|
536
|
+
execute: async (_toolCallId, input) => {
|
|
536
537
|
const key = ensureApiKey()
|
|
537
538
|
const params = parseToolInput(input)
|
|
538
539
|
return callSuperagnt(key, 'POST', '/v2/{target}/{identifier}/attributes/{attribute}/statuses', undefined, params)
|
|
@@ -542,7 +543,7 @@ export default function register(api) {
|
|
|
542
543
|
api.registerTool({
|
|
543
544
|
name: 'superagnt_connection_attio_update_attribute_status',
|
|
544
545
|
description: "Update a status",
|
|
545
|
-
|
|
546
|
+
parameters: {
|
|
546
547
|
"type": "object",
|
|
547
548
|
"properties": {
|
|
548
549
|
"target": {
|
|
@@ -574,7 +575,7 @@ export default function register(api) {
|
|
|
574
575
|
"data"
|
|
575
576
|
]
|
|
576
577
|
},
|
|
577
|
-
execute: async (input) => {
|
|
578
|
+
execute: async (_toolCallId, input) => {
|
|
578
579
|
const key = ensureApiKey()
|
|
579
580
|
const params = parseToolInput(input)
|
|
580
581
|
return callSuperagnt(key, 'PATCH', '/v2/{target}/{identifier}/attributes/{attribute}/statuses/{status}', undefined, params)
|
|
@@ -584,7 +585,7 @@ export default function register(api) {
|
|
|
584
585
|
api.registerTool({
|
|
585
586
|
name: 'superagnt_connection_attio_list_records',
|
|
586
587
|
description: "List records",
|
|
587
|
-
|
|
588
|
+
parameters: {
|
|
588
589
|
"type": "object",
|
|
589
590
|
"properties": {
|
|
590
591
|
"object": {
|
|
@@ -616,7 +617,7 @@ export default function register(api) {
|
|
|
616
617
|
"object"
|
|
617
618
|
]
|
|
618
619
|
},
|
|
619
|
-
execute: async (input) => {
|
|
620
|
+
execute: async (_toolCallId, input) => {
|
|
620
621
|
const key = ensureApiKey()
|
|
621
622
|
const params = parseToolInput(input)
|
|
622
623
|
return callSuperagnt(key, 'POST', '/v2/objects/{object}/records/query', undefined, params)
|
|
@@ -626,7 +627,7 @@ export default function register(api) {
|
|
|
626
627
|
api.registerTool({
|
|
627
628
|
name: 'superagnt_connection_attio_post_v2_objects__object__records',
|
|
628
629
|
description: "Create a record",
|
|
629
|
-
|
|
630
|
+
parameters: {
|
|
630
631
|
"type": "object",
|
|
631
632
|
"properties": {
|
|
632
633
|
"object": {
|
|
@@ -643,7 +644,7 @@ export default function register(api) {
|
|
|
643
644
|
"data"
|
|
644
645
|
]
|
|
645
646
|
},
|
|
646
|
-
execute: async (input) => {
|
|
647
|
+
execute: async (_toolCallId, input) => {
|
|
647
648
|
const key = ensureApiKey()
|
|
648
649
|
const params = parseToolInput(input)
|
|
649
650
|
return callSuperagnt(key, 'POST', '/v2/objects/{object}/records', undefined, params)
|
|
@@ -653,7 +654,7 @@ export default function register(api) {
|
|
|
653
654
|
api.registerTool({
|
|
654
655
|
name: 'superagnt_connection_attio_put_v2_objects__object__records',
|
|
655
656
|
description: "Assert a record",
|
|
656
|
-
|
|
657
|
+
parameters: {
|
|
657
658
|
"type": "object",
|
|
658
659
|
"properties": {
|
|
659
660
|
"object": {
|
|
@@ -675,7 +676,7 @@ export default function register(api) {
|
|
|
675
676
|
"data"
|
|
676
677
|
]
|
|
677
678
|
},
|
|
678
|
-
execute: async (input) => {
|
|
679
|
+
execute: async (_toolCallId, input) => {
|
|
679
680
|
const key = ensureApiKey()
|
|
680
681
|
const params = parseToolInput(input)
|
|
681
682
|
return callSuperagnt(key, 'PUT', '/v2/objects/{object}/records', undefined, params)
|
|
@@ -685,7 +686,7 @@ export default function register(api) {
|
|
|
685
686
|
api.registerTool({
|
|
686
687
|
name: 'superagnt_connection_attio_get_record',
|
|
687
688
|
description: "Get a record",
|
|
688
|
-
|
|
689
|
+
parameters: {
|
|
689
690
|
"type": "object",
|
|
690
691
|
"properties": {
|
|
691
692
|
"object": {
|
|
@@ -702,7 +703,7 @@ export default function register(api) {
|
|
|
702
703
|
"record_id"
|
|
703
704
|
]
|
|
704
705
|
},
|
|
705
|
-
execute: async (input) => {
|
|
706
|
+
execute: async (_toolCallId, input) => {
|
|
706
707
|
const key = ensureApiKey()
|
|
707
708
|
const params = parseToolInput(input)
|
|
708
709
|
return callSuperagnt(key, 'GET', '/v2/objects/{object}/records/{record_id}', params)
|
|
@@ -712,7 +713,7 @@ export default function register(api) {
|
|
|
712
713
|
api.registerTool({
|
|
713
714
|
name: 'superagnt_connection_attio_overwrite_record',
|
|
714
715
|
description: "Update a record (overwrite multiselect values)",
|
|
715
|
-
|
|
716
|
+
parameters: {
|
|
716
717
|
"type": "object",
|
|
717
718
|
"properties": {
|
|
718
719
|
"object": {
|
|
@@ -734,7 +735,7 @@ export default function register(api) {
|
|
|
734
735
|
"data"
|
|
735
736
|
]
|
|
736
737
|
},
|
|
737
|
-
execute: async (input) => {
|
|
738
|
+
execute: async (_toolCallId, input) => {
|
|
738
739
|
const key = ensureApiKey()
|
|
739
740
|
const params = parseToolInput(input)
|
|
740
741
|
return callSuperagnt(key, 'PUT', '/v2/objects/{object}/records/{record_id}', undefined, params)
|
|
@@ -744,7 +745,7 @@ export default function register(api) {
|
|
|
744
745
|
api.registerTool({
|
|
745
746
|
name: 'superagnt_connection_attio_update_record',
|
|
746
747
|
description: "Update a record (append multiselect values)",
|
|
747
|
-
|
|
748
|
+
parameters: {
|
|
748
749
|
"type": "object",
|
|
749
750
|
"properties": {
|
|
750
751
|
"object": {
|
|
@@ -766,7 +767,7 @@ export default function register(api) {
|
|
|
766
767
|
"data"
|
|
767
768
|
]
|
|
768
769
|
},
|
|
769
|
-
execute: async (input) => {
|
|
770
|
+
execute: async (_toolCallId, input) => {
|
|
770
771
|
const key = ensureApiKey()
|
|
771
772
|
const params = parseToolInput(input)
|
|
772
773
|
return callSuperagnt(key, 'PATCH', '/v2/objects/{object}/records/{record_id}', undefined, params)
|
|
@@ -776,7 +777,7 @@ export default function register(api) {
|
|
|
776
777
|
api.registerTool({
|
|
777
778
|
name: 'superagnt_connection_attio_delete_record',
|
|
778
779
|
description: "Delete a record",
|
|
779
|
-
|
|
780
|
+
parameters: {
|
|
780
781
|
"type": "object",
|
|
781
782
|
"properties": {
|
|
782
783
|
"object": {
|
|
@@ -793,7 +794,7 @@ export default function register(api) {
|
|
|
793
794
|
"record_id"
|
|
794
795
|
]
|
|
795
796
|
},
|
|
796
|
-
execute: async (input) => {
|
|
797
|
+
execute: async (_toolCallId, input) => {
|
|
797
798
|
const key = ensureApiKey()
|
|
798
799
|
const params = parseToolInput(input)
|
|
799
800
|
return callSuperagnt(key, 'DELETE', '/v2/objects/{object}/records/{record_id}', undefined, params)
|
|
@@ -803,7 +804,7 @@ export default function register(api) {
|
|
|
803
804
|
api.registerTool({
|
|
804
805
|
name: 'superagnt_connection_attio_list_record_attribute_values',
|
|
805
806
|
description: "List record attribute values",
|
|
806
|
-
|
|
807
|
+
parameters: {
|
|
807
808
|
"type": "object",
|
|
808
809
|
"properties": {
|
|
809
810
|
"object": {
|
|
@@ -837,7 +838,7 @@ export default function register(api) {
|
|
|
837
838
|
"attribute"
|
|
838
839
|
]
|
|
839
840
|
},
|
|
840
|
-
execute: async (input) => {
|
|
841
|
+
execute: async (_toolCallId, input) => {
|
|
841
842
|
const key = ensureApiKey()
|
|
842
843
|
const params = parseToolInput(input)
|
|
843
844
|
return callSuperagnt(key, 'GET', '/v2/objects/{object}/records/{record_id}/attributes/{attribute}/values', params)
|
|
@@ -847,7 +848,7 @@ export default function register(api) {
|
|
|
847
848
|
api.registerTool({
|
|
848
849
|
name: 'superagnt_connection_attio_list_record_list_entries',
|
|
849
850
|
description: "List record entries",
|
|
850
|
-
|
|
851
|
+
parameters: {
|
|
851
852
|
"type": "object",
|
|
852
853
|
"properties": {
|
|
853
854
|
"object": {
|
|
@@ -872,7 +873,7 @@ export default function register(api) {
|
|
|
872
873
|
"record_id"
|
|
873
874
|
]
|
|
874
875
|
},
|
|
875
|
-
execute: async (input) => {
|
|
876
|
+
execute: async (_toolCallId, input) => {
|
|
876
877
|
const key = ensureApiKey()
|
|
877
878
|
const params = parseToolInput(input)
|
|
878
879
|
return callSuperagnt(key, 'GET', '/v2/objects/{object}/records/{record_id}/entries', params)
|
|
@@ -882,7 +883,7 @@ export default function register(api) {
|
|
|
882
883
|
api.registerTool({
|
|
883
884
|
name: 'superagnt_connection_attio_post_v2_objects_records_search',
|
|
884
885
|
description: "Search records",
|
|
885
|
-
|
|
886
|
+
parameters: {
|
|
886
887
|
"type": "object",
|
|
887
888
|
"properties": {
|
|
888
889
|
"query": {
|
|
@@ -908,7 +909,7 @@ export default function register(api) {
|
|
|
908
909
|
"request_as"
|
|
909
910
|
]
|
|
910
911
|
},
|
|
911
|
-
execute: async (input) => {
|
|
912
|
+
execute: async (_toolCallId, input) => {
|
|
912
913
|
const key = ensureApiKey()
|
|
913
914
|
const params = parseToolInput(input)
|
|
914
915
|
return callSuperagnt(key, 'POST', '/v2/objects/records/search', undefined, params)
|
|
@@ -918,11 +919,11 @@ export default function register(api) {
|
|
|
918
919
|
api.registerTool({
|
|
919
920
|
name: 'superagnt_connection_attio_get_v2_lists',
|
|
920
921
|
description: "List all lists",
|
|
921
|
-
|
|
922
|
+
parameters: {
|
|
922
923
|
"type": "object",
|
|
923
924
|
"properties": {}
|
|
924
925
|
},
|
|
925
|
-
execute: async (input) => {
|
|
926
|
+
execute: async (_toolCallId, input) => {
|
|
926
927
|
const key = ensureApiKey()
|
|
927
928
|
const params = parseToolInput(input)
|
|
928
929
|
return callSuperagnt(key, 'GET', '/v2/lists', params)
|
|
@@ -932,7 +933,7 @@ export default function register(api) {
|
|
|
932
933
|
api.registerTool({
|
|
933
934
|
name: 'superagnt_connection_attio_post_v2_lists',
|
|
934
935
|
description: "Create a list",
|
|
935
|
-
|
|
936
|
+
parameters: {
|
|
936
937
|
"type": "object",
|
|
937
938
|
"properties": {
|
|
938
939
|
"data": {
|
|
@@ -944,7 +945,7 @@ export default function register(api) {
|
|
|
944
945
|
"data"
|
|
945
946
|
]
|
|
946
947
|
},
|
|
947
|
-
execute: async (input) => {
|
|
948
|
+
execute: async (_toolCallId, input) => {
|
|
948
949
|
const key = ensureApiKey()
|
|
949
950
|
const params = parseToolInput(input)
|
|
950
951
|
return callSuperagnt(key, 'POST', '/v2/lists', undefined, params)
|
|
@@ -954,7 +955,7 @@ export default function register(api) {
|
|
|
954
955
|
api.registerTool({
|
|
955
956
|
name: 'superagnt_connection_attio_get_v2_lists__list_',
|
|
956
957
|
description: "Get a list",
|
|
957
|
-
|
|
958
|
+
parameters: {
|
|
958
959
|
"type": "object",
|
|
959
960
|
"properties": {
|
|
960
961
|
"list": {
|
|
@@ -966,7 +967,7 @@ export default function register(api) {
|
|
|
966
967
|
"list"
|
|
967
968
|
]
|
|
968
969
|
},
|
|
969
|
-
execute: async (input) => {
|
|
970
|
+
execute: async (_toolCallId, input) => {
|
|
970
971
|
const key = ensureApiKey()
|
|
971
972
|
const params = parseToolInput(input)
|
|
972
973
|
return callSuperagnt(key, 'GET', '/v2/lists/{list}', params)
|
|
@@ -976,7 +977,7 @@ export default function register(api) {
|
|
|
976
977
|
api.registerTool({
|
|
977
978
|
name: 'superagnt_connection_attio_patch_v2_lists__list_',
|
|
978
979
|
description: "Update a list",
|
|
979
|
-
|
|
980
|
+
parameters: {
|
|
980
981
|
"type": "object",
|
|
981
982
|
"properties": {
|
|
982
983
|
"list": {
|
|
@@ -993,7 +994,7 @@ export default function register(api) {
|
|
|
993
994
|
"data"
|
|
994
995
|
]
|
|
995
996
|
},
|
|
996
|
-
execute: async (input) => {
|
|
997
|
+
execute: async (_toolCallId, input) => {
|
|
997
998
|
const key = ensureApiKey()
|
|
998
999
|
const params = parseToolInput(input)
|
|
999
1000
|
return callSuperagnt(key, 'PATCH', '/v2/lists/{list}', undefined, params)
|
|
@@ -1003,7 +1004,7 @@ export default function register(api) {
|
|
|
1003
1004
|
api.registerTool({
|
|
1004
1005
|
name: 'superagnt_connection_attio_get_v2_lists__list__views',
|
|
1005
1006
|
description: "List views for list",
|
|
1006
|
-
|
|
1007
|
+
parameters: {
|
|
1007
1008
|
"type": "object",
|
|
1008
1009
|
"properties": {
|
|
1009
1010
|
"list": {
|
|
@@ -1027,7 +1028,7 @@ export default function register(api) {
|
|
|
1027
1028
|
"list"
|
|
1028
1029
|
]
|
|
1029
1030
|
},
|
|
1030
|
-
execute: async (input) => {
|
|
1031
|
+
execute: async (_toolCallId, input) => {
|
|
1031
1032
|
const key = ensureApiKey()
|
|
1032
1033
|
const params = parseToolInput(input)
|
|
1033
1034
|
return callSuperagnt(key, 'GET', '/v2/lists/{list}/views', params)
|
|
@@ -1037,7 +1038,7 @@ export default function register(api) {
|
|
|
1037
1038
|
api.registerTool({
|
|
1038
1039
|
name: 'superagnt_connection_attio_list_list_entries',
|
|
1039
1040
|
description: "List entries",
|
|
1040
|
-
|
|
1041
|
+
parameters: {
|
|
1041
1042
|
"type": "object",
|
|
1042
1043
|
"properties": {
|
|
1043
1044
|
"list": {
|
|
@@ -1069,7 +1070,7 @@ export default function register(api) {
|
|
|
1069
1070
|
"list"
|
|
1070
1071
|
]
|
|
1071
1072
|
},
|
|
1072
|
-
execute: async (input) => {
|
|
1073
|
+
execute: async (_toolCallId, input) => {
|
|
1073
1074
|
const key = ensureApiKey()
|
|
1074
1075
|
const params = parseToolInput(input)
|
|
1075
1076
|
return callSuperagnt(key, 'POST', '/v2/lists/{list}/entries/query', undefined, params)
|
|
@@ -1079,7 +1080,7 @@ export default function register(api) {
|
|
|
1079
1080
|
api.registerTool({
|
|
1080
1081
|
name: 'superagnt_connection_attio_post_v2_lists__list__entries',
|
|
1081
1082
|
description: "Create an entry (add record to list)",
|
|
1082
|
-
|
|
1083
|
+
parameters: {
|
|
1083
1084
|
"type": "object",
|
|
1084
1085
|
"properties": {
|
|
1085
1086
|
"list": {
|
|
@@ -1096,7 +1097,7 @@ export default function register(api) {
|
|
|
1096
1097
|
"data"
|
|
1097
1098
|
]
|
|
1098
1099
|
},
|
|
1099
|
-
execute: async (input) => {
|
|
1100
|
+
execute: async (_toolCallId, input) => {
|
|
1100
1101
|
const key = ensureApiKey()
|
|
1101
1102
|
const params = parseToolInput(input)
|
|
1102
1103
|
return callSuperagnt(key, 'POST', '/v2/lists/{list}/entries', undefined, params)
|
|
@@ -1106,7 +1107,7 @@ export default function register(api) {
|
|
|
1106
1107
|
api.registerTool({
|
|
1107
1108
|
name: 'superagnt_connection_attio_put_v2_lists__list__entries',
|
|
1108
1109
|
description: "Assert a list entry by parent",
|
|
1109
|
-
|
|
1110
|
+
parameters: {
|
|
1110
1111
|
"type": "object",
|
|
1111
1112
|
"properties": {
|
|
1112
1113
|
"list": {
|
|
@@ -1123,7 +1124,7 @@ export default function register(api) {
|
|
|
1123
1124
|
"data"
|
|
1124
1125
|
]
|
|
1125
1126
|
},
|
|
1126
|
-
execute: async (input) => {
|
|
1127
|
+
execute: async (_toolCallId, input) => {
|
|
1127
1128
|
const key = ensureApiKey()
|
|
1128
1129
|
const params = parseToolInput(input)
|
|
1129
1130
|
return callSuperagnt(key, 'PUT', '/v2/lists/{list}/entries', undefined, params)
|
|
@@ -1133,7 +1134,7 @@ export default function register(api) {
|
|
|
1133
1134
|
api.registerTool({
|
|
1134
1135
|
name: 'superagnt_connection_attio_get_list_entry',
|
|
1135
1136
|
description: "Get a list entry",
|
|
1136
|
-
|
|
1137
|
+
parameters: {
|
|
1137
1138
|
"type": "object",
|
|
1138
1139
|
"properties": {
|
|
1139
1140
|
"list": {
|
|
@@ -1150,7 +1151,7 @@ export default function register(api) {
|
|
|
1150
1151
|
"entry_id"
|
|
1151
1152
|
]
|
|
1152
1153
|
},
|
|
1153
|
-
execute: async (input) => {
|
|
1154
|
+
execute: async (_toolCallId, input) => {
|
|
1154
1155
|
const key = ensureApiKey()
|
|
1155
1156
|
const params = parseToolInput(input)
|
|
1156
1157
|
return callSuperagnt(key, 'GET', '/v2/lists/{list}/entries/{entry_id}', params)
|
|
@@ -1160,7 +1161,7 @@ export default function register(api) {
|
|
|
1160
1161
|
api.registerTool({
|
|
1161
1162
|
name: 'superagnt_connection_attio_overwrite_list_entry',
|
|
1162
1163
|
description: "Update a list entry (overwrite multiselect values)",
|
|
1163
|
-
|
|
1164
|
+
parameters: {
|
|
1164
1165
|
"type": "object",
|
|
1165
1166
|
"properties": {
|
|
1166
1167
|
"list": {
|
|
@@ -1182,7 +1183,7 @@ export default function register(api) {
|
|
|
1182
1183
|
"data"
|
|
1183
1184
|
]
|
|
1184
1185
|
},
|
|
1185
|
-
execute: async (input) => {
|
|
1186
|
+
execute: async (_toolCallId, input) => {
|
|
1186
1187
|
const key = ensureApiKey()
|
|
1187
1188
|
const params = parseToolInput(input)
|
|
1188
1189
|
return callSuperagnt(key, 'PUT', '/v2/lists/{list}/entries/{entry_id}', undefined, params)
|
|
@@ -1192,7 +1193,7 @@ export default function register(api) {
|
|
|
1192
1193
|
api.registerTool({
|
|
1193
1194
|
name: 'superagnt_connection_attio_update_list_entry',
|
|
1194
1195
|
description: "Update a list entry (append multiselect values)",
|
|
1195
|
-
|
|
1196
|
+
parameters: {
|
|
1196
1197
|
"type": "object",
|
|
1197
1198
|
"properties": {
|
|
1198
1199
|
"list": {
|
|
@@ -1214,7 +1215,7 @@ export default function register(api) {
|
|
|
1214
1215
|
"data"
|
|
1215
1216
|
]
|
|
1216
1217
|
},
|
|
1217
|
-
execute: async (input) => {
|
|
1218
|
+
execute: async (_toolCallId, input) => {
|
|
1218
1219
|
const key = ensureApiKey()
|
|
1219
1220
|
const params = parseToolInput(input)
|
|
1220
1221
|
return callSuperagnt(key, 'PATCH', '/v2/lists/{list}/entries/{entry_id}', undefined, params)
|
|
@@ -1224,7 +1225,7 @@ export default function register(api) {
|
|
|
1224
1225
|
api.registerTool({
|
|
1225
1226
|
name: 'superagnt_connection_attio_delete_list_entry',
|
|
1226
1227
|
description: "Delete a list entry",
|
|
1227
|
-
|
|
1228
|
+
parameters: {
|
|
1228
1229
|
"type": "object",
|
|
1229
1230
|
"properties": {
|
|
1230
1231
|
"list": {
|
|
@@ -1241,7 +1242,7 @@ export default function register(api) {
|
|
|
1241
1242
|
"entry_id"
|
|
1242
1243
|
]
|
|
1243
1244
|
},
|
|
1244
|
-
execute: async (input) => {
|
|
1245
|
+
execute: async (_toolCallId, input) => {
|
|
1245
1246
|
const key = ensureApiKey()
|
|
1246
1247
|
const params = parseToolInput(input)
|
|
1247
1248
|
return callSuperagnt(key, 'DELETE', '/v2/lists/{list}/entries/{entry_id}', undefined, params)
|
|
@@ -1251,7 +1252,7 @@ export default function register(api) {
|
|
|
1251
1252
|
api.registerTool({
|
|
1252
1253
|
name: 'superagnt_connection_attio_list_list_entry_attribute_values',
|
|
1253
1254
|
description: "List attribute values for a list entry",
|
|
1254
|
-
|
|
1255
|
+
parameters: {
|
|
1255
1256
|
"type": "object",
|
|
1256
1257
|
"properties": {
|
|
1257
1258
|
"list": {
|
|
@@ -1285,7 +1286,7 @@ export default function register(api) {
|
|
|
1285
1286
|
"attribute"
|
|
1286
1287
|
]
|
|
1287
1288
|
},
|
|
1288
|
-
execute: async (input) => {
|
|
1289
|
+
execute: async (_toolCallId, input) => {
|
|
1289
1290
|
const key = ensureApiKey()
|
|
1290
1291
|
const params = parseToolInput(input)
|
|
1291
1292
|
return callSuperagnt(key, 'GET', '/v2/lists/{list}/entries/{entry_id}/attributes/{attribute}/values', params)
|
|
@@ -1295,11 +1296,11 @@ export default function register(api) {
|
|
|
1295
1296
|
api.registerTool({
|
|
1296
1297
|
name: 'superagnt_connection_attio_get_v2_workspace_members',
|
|
1297
1298
|
description: "List workspace members",
|
|
1298
|
-
|
|
1299
|
+
parameters: {
|
|
1299
1300
|
"type": "object",
|
|
1300
1301
|
"properties": {}
|
|
1301
1302
|
},
|
|
1302
|
-
execute: async (input) => {
|
|
1303
|
+
execute: async (_toolCallId, input) => {
|
|
1303
1304
|
const key = ensureApiKey()
|
|
1304
1305
|
const params = parseToolInput(input)
|
|
1305
1306
|
return callSuperagnt(key, 'GET', '/v2/workspace_members', params)
|
|
@@ -1309,7 +1310,7 @@ export default function register(api) {
|
|
|
1309
1310
|
api.registerTool({
|
|
1310
1311
|
name: 'superagnt_connection_attio_get_workspace_member',
|
|
1311
1312
|
description: "Get a workspace member",
|
|
1312
|
-
|
|
1313
|
+
parameters: {
|
|
1313
1314
|
"type": "object",
|
|
1314
1315
|
"properties": {
|
|
1315
1316
|
"workspace_member_id": {
|
|
@@ -1321,7 +1322,7 @@ export default function register(api) {
|
|
|
1321
1322
|
"workspace_member_id"
|
|
1322
1323
|
]
|
|
1323
1324
|
},
|
|
1324
|
-
execute: async (input) => {
|
|
1325
|
+
execute: async (_toolCallId, input) => {
|
|
1325
1326
|
const key = ensureApiKey()
|
|
1326
1327
|
const params = parseToolInput(input)
|
|
1327
1328
|
return callSuperagnt(key, 'GET', '/v2/workspace_members/{workspace_member_id}', params)
|
|
@@ -1331,7 +1332,7 @@ export default function register(api) {
|
|
|
1331
1332
|
api.registerTool({
|
|
1332
1333
|
name: 'superagnt_connection_attio_get_v2_notes',
|
|
1333
1334
|
description: "List notes",
|
|
1334
|
-
|
|
1335
|
+
parameters: {
|
|
1335
1336
|
"type": "object",
|
|
1336
1337
|
"properties": {
|
|
1337
1338
|
"limit": {
|
|
@@ -1352,7 +1353,7 @@ export default function register(api) {
|
|
|
1352
1353
|
}
|
|
1353
1354
|
}
|
|
1354
1355
|
},
|
|
1355
|
-
execute: async (input) => {
|
|
1356
|
+
execute: async (_toolCallId, input) => {
|
|
1356
1357
|
const key = ensureApiKey()
|
|
1357
1358
|
const params = parseToolInput(input)
|
|
1358
1359
|
return callSuperagnt(key, 'GET', '/v2/notes', params)
|
|
@@ -1362,7 +1363,7 @@ export default function register(api) {
|
|
|
1362
1363
|
api.registerTool({
|
|
1363
1364
|
name: 'superagnt_connection_attio_post_v2_notes',
|
|
1364
1365
|
description: "Create a note",
|
|
1365
|
-
|
|
1366
|
+
parameters: {
|
|
1366
1367
|
"type": "object",
|
|
1367
1368
|
"properties": {
|
|
1368
1369
|
"data": {
|
|
@@ -1374,7 +1375,7 @@ export default function register(api) {
|
|
|
1374
1375
|
"data"
|
|
1375
1376
|
]
|
|
1376
1377
|
},
|
|
1377
|
-
execute: async (input) => {
|
|
1378
|
+
execute: async (_toolCallId, input) => {
|
|
1378
1379
|
const key = ensureApiKey()
|
|
1379
1380
|
const params = parseToolInput(input)
|
|
1380
1381
|
return callSuperagnt(key, 'POST', '/v2/notes', undefined, params)
|
|
@@ -1384,7 +1385,7 @@ export default function register(api) {
|
|
|
1384
1385
|
api.registerTool({
|
|
1385
1386
|
name: 'superagnt_connection_attio_get_v2_notes__note_id_',
|
|
1386
1387
|
description: "Get a note",
|
|
1387
|
-
|
|
1388
|
+
parameters: {
|
|
1388
1389
|
"type": "object",
|
|
1389
1390
|
"properties": {
|
|
1390
1391
|
"note_id": {
|
|
@@ -1396,7 +1397,7 @@ export default function register(api) {
|
|
|
1396
1397
|
"note_id"
|
|
1397
1398
|
]
|
|
1398
1399
|
},
|
|
1399
|
-
execute: async (input) => {
|
|
1400
|
+
execute: async (_toolCallId, input) => {
|
|
1400
1401
|
const key = ensureApiKey()
|
|
1401
1402
|
const params = parseToolInput(input)
|
|
1402
1403
|
return callSuperagnt(key, 'GET', '/v2/notes/{note_id}', params)
|
|
@@ -1406,7 +1407,7 @@ export default function register(api) {
|
|
|
1406
1407
|
api.registerTool({
|
|
1407
1408
|
name: 'superagnt_connection_attio_delete_v2_notes__note_id_',
|
|
1408
1409
|
description: "Delete a note",
|
|
1409
|
-
|
|
1410
|
+
parameters: {
|
|
1410
1411
|
"type": "object",
|
|
1411
1412
|
"properties": {
|
|
1412
1413
|
"note_id": {
|
|
@@ -1418,7 +1419,7 @@ export default function register(api) {
|
|
|
1418
1419
|
"note_id"
|
|
1419
1420
|
]
|
|
1420
1421
|
},
|
|
1421
|
-
execute: async (input) => {
|
|
1422
|
+
execute: async (_toolCallId, input) => {
|
|
1422
1423
|
const key = ensureApiKey()
|
|
1423
1424
|
const params = parseToolInput(input)
|
|
1424
1425
|
return callSuperagnt(key, 'DELETE', '/v2/notes/{note_id}', undefined, params)
|
|
@@ -1428,7 +1429,7 @@ export default function register(api) {
|
|
|
1428
1429
|
api.registerTool({
|
|
1429
1430
|
name: 'superagnt_connection_attio_get_v2_tasks',
|
|
1430
1431
|
description: "List tasks",
|
|
1431
|
-
|
|
1432
|
+
parameters: {
|
|
1432
1433
|
"type": "object",
|
|
1433
1434
|
"properties": {
|
|
1434
1435
|
"limit": {
|
|
@@ -1464,7 +1465,7 @@ export default function register(api) {
|
|
|
1464
1465
|
}
|
|
1465
1466
|
}
|
|
1466
1467
|
},
|
|
1467
|
-
execute: async (input) => {
|
|
1468
|
+
execute: async (_toolCallId, input) => {
|
|
1468
1469
|
const key = ensureApiKey()
|
|
1469
1470
|
const params = parseToolInput(input)
|
|
1470
1471
|
return callSuperagnt(key, 'GET', '/v2/tasks', params)
|
|
@@ -1474,7 +1475,7 @@ export default function register(api) {
|
|
|
1474
1475
|
api.registerTool({
|
|
1475
1476
|
name: 'superagnt_connection_attio_post_v2_tasks',
|
|
1476
1477
|
description: "Create a task",
|
|
1477
|
-
|
|
1478
|
+
parameters: {
|
|
1478
1479
|
"type": "object",
|
|
1479
1480
|
"properties": {
|
|
1480
1481
|
"data": {
|
|
@@ -1486,7 +1487,7 @@ export default function register(api) {
|
|
|
1486
1487
|
"data"
|
|
1487
1488
|
]
|
|
1488
1489
|
},
|
|
1489
|
-
execute: async (input) => {
|
|
1490
|
+
execute: async (_toolCallId, input) => {
|
|
1490
1491
|
const key = ensureApiKey()
|
|
1491
1492
|
const params = parseToolInput(input)
|
|
1492
1493
|
return callSuperagnt(key, 'POST', '/v2/tasks', undefined, params)
|
|
@@ -1496,7 +1497,7 @@ export default function register(api) {
|
|
|
1496
1497
|
api.registerTool({
|
|
1497
1498
|
name: 'superagnt_connection_attio_get_v2_tasks__task_id_',
|
|
1498
1499
|
description: "Get a task",
|
|
1499
|
-
|
|
1500
|
+
parameters: {
|
|
1500
1501
|
"type": "object",
|
|
1501
1502
|
"properties": {
|
|
1502
1503
|
"task_id": {
|
|
@@ -1508,7 +1509,7 @@ export default function register(api) {
|
|
|
1508
1509
|
"task_id"
|
|
1509
1510
|
]
|
|
1510
1511
|
},
|
|
1511
|
-
execute: async (input) => {
|
|
1512
|
+
execute: async (_toolCallId, input) => {
|
|
1512
1513
|
const key = ensureApiKey()
|
|
1513
1514
|
const params = parseToolInput(input)
|
|
1514
1515
|
return callSuperagnt(key, 'GET', '/v2/tasks/{task_id}', params)
|
|
@@ -1518,7 +1519,7 @@ export default function register(api) {
|
|
|
1518
1519
|
api.registerTool({
|
|
1519
1520
|
name: 'superagnt_connection_attio_patch_v2_tasks__task_id_',
|
|
1520
1521
|
description: "Update a task",
|
|
1521
|
-
|
|
1522
|
+
parameters: {
|
|
1522
1523
|
"type": "object",
|
|
1523
1524
|
"properties": {
|
|
1524
1525
|
"task_id": {
|
|
@@ -1535,7 +1536,7 @@ export default function register(api) {
|
|
|
1535
1536
|
"data"
|
|
1536
1537
|
]
|
|
1537
1538
|
},
|
|
1538
|
-
execute: async (input) => {
|
|
1539
|
+
execute: async (_toolCallId, input) => {
|
|
1539
1540
|
const key = ensureApiKey()
|
|
1540
1541
|
const params = parseToolInput(input)
|
|
1541
1542
|
return callSuperagnt(key, 'PATCH', '/v2/tasks/{task_id}', undefined, params)
|
|
@@ -1545,7 +1546,7 @@ export default function register(api) {
|
|
|
1545
1546
|
api.registerTool({
|
|
1546
1547
|
name: 'superagnt_connection_attio_delete_v2_tasks__task_id_',
|
|
1547
1548
|
description: "Delete a task",
|
|
1548
|
-
|
|
1549
|
+
parameters: {
|
|
1549
1550
|
"type": "object",
|
|
1550
1551
|
"properties": {
|
|
1551
1552
|
"task_id": {
|
|
@@ -1557,7 +1558,7 @@ export default function register(api) {
|
|
|
1557
1558
|
"task_id"
|
|
1558
1559
|
]
|
|
1559
1560
|
},
|
|
1560
|
-
execute: async (input) => {
|
|
1561
|
+
execute: async (_toolCallId, input) => {
|
|
1561
1562
|
const key = ensureApiKey()
|
|
1562
1563
|
const params = parseToolInput(input)
|
|
1563
1564
|
return callSuperagnt(key, 'DELETE', '/v2/tasks/{task_id}', undefined, params)
|
|
@@ -1567,7 +1568,7 @@ export default function register(api) {
|
|
|
1567
1568
|
api.registerTool({
|
|
1568
1569
|
name: 'superagnt_connection_attio_get_v2_threads',
|
|
1569
1570
|
description: "List threads",
|
|
1570
|
-
|
|
1571
|
+
parameters: {
|
|
1571
1572
|
"type": "object",
|
|
1572
1573
|
"properties": {
|
|
1573
1574
|
"record_id": {
|
|
@@ -1596,7 +1597,7 @@ export default function register(api) {
|
|
|
1596
1597
|
}
|
|
1597
1598
|
}
|
|
1598
1599
|
},
|
|
1599
|
-
execute: async (input) => {
|
|
1600
|
+
execute: async (_toolCallId, input) => {
|
|
1600
1601
|
const key = ensureApiKey()
|
|
1601
1602
|
const params = parseToolInput(input)
|
|
1602
1603
|
return callSuperagnt(key, 'GET', '/v2/threads', params)
|
|
@@ -1606,7 +1607,7 @@ export default function register(api) {
|
|
|
1606
1607
|
api.registerTool({
|
|
1607
1608
|
name: 'superagnt_connection_attio_get_v2_threads__thread_id_',
|
|
1608
1609
|
description: "Get a thread",
|
|
1609
|
-
|
|
1610
|
+
parameters: {
|
|
1610
1611
|
"type": "object",
|
|
1611
1612
|
"properties": {
|
|
1612
1613
|
"thread_id": {
|
|
@@ -1618,7 +1619,7 @@ export default function register(api) {
|
|
|
1618
1619
|
"thread_id"
|
|
1619
1620
|
]
|
|
1620
1621
|
},
|
|
1621
|
-
execute: async (input) => {
|
|
1622
|
+
execute: async (_toolCallId, input) => {
|
|
1622
1623
|
const key = ensureApiKey()
|
|
1623
1624
|
const params = parseToolInput(input)
|
|
1624
1625
|
return callSuperagnt(key, 'GET', '/v2/threads/{thread_id}', params)
|
|
@@ -1628,7 +1629,7 @@ export default function register(api) {
|
|
|
1628
1629
|
api.registerTool({
|
|
1629
1630
|
name: 'superagnt_connection_attio_post_v2_comments',
|
|
1630
1631
|
description: "Create a comment",
|
|
1631
|
-
|
|
1632
|
+
parameters: {
|
|
1632
1633
|
"type": "object",
|
|
1633
1634
|
"properties": {
|
|
1634
1635
|
"data": {
|
|
@@ -1640,7 +1641,7 @@ export default function register(api) {
|
|
|
1640
1641
|
"data"
|
|
1641
1642
|
]
|
|
1642
1643
|
},
|
|
1643
|
-
execute: async (input) => {
|
|
1644
|
+
execute: async (_toolCallId, input) => {
|
|
1644
1645
|
const key = ensureApiKey()
|
|
1645
1646
|
const params = parseToolInput(input)
|
|
1646
1647
|
return callSuperagnt(key, 'POST', '/v2/comments', undefined, params)
|
|
@@ -1650,7 +1651,7 @@ export default function register(api) {
|
|
|
1650
1651
|
api.registerTool({
|
|
1651
1652
|
name: 'superagnt_connection_attio_get_v2_comments__comment_id_',
|
|
1652
1653
|
description: "Get a comment",
|
|
1653
|
-
|
|
1654
|
+
parameters: {
|
|
1654
1655
|
"type": "object",
|
|
1655
1656
|
"properties": {
|
|
1656
1657
|
"comment_id": {
|
|
@@ -1662,7 +1663,7 @@ export default function register(api) {
|
|
|
1662
1663
|
"comment_id"
|
|
1663
1664
|
]
|
|
1664
1665
|
},
|
|
1665
|
-
execute: async (input) => {
|
|
1666
|
+
execute: async (_toolCallId, input) => {
|
|
1666
1667
|
const key = ensureApiKey()
|
|
1667
1668
|
const params = parseToolInput(input)
|
|
1668
1669
|
return callSuperagnt(key, 'GET', '/v2/comments/{comment_id}', params)
|
|
@@ -1672,7 +1673,7 @@ export default function register(api) {
|
|
|
1672
1673
|
api.registerTool({
|
|
1673
1674
|
name: 'superagnt_connection_attio_delete_v2_comments__comment_id_',
|
|
1674
1675
|
description: "Delete a comment",
|
|
1675
|
-
|
|
1676
|
+
parameters: {
|
|
1676
1677
|
"type": "object",
|
|
1677
1678
|
"properties": {
|
|
1678
1679
|
"comment_id": {
|
|
@@ -1684,7 +1685,7 @@ export default function register(api) {
|
|
|
1684
1685
|
"comment_id"
|
|
1685
1686
|
]
|
|
1686
1687
|
},
|
|
1687
|
-
execute: async (input) => {
|
|
1688
|
+
execute: async (_toolCallId, input) => {
|
|
1688
1689
|
const key = ensureApiKey()
|
|
1689
1690
|
const params = parseToolInput(input)
|
|
1690
1691
|
return callSuperagnt(key, 'DELETE', '/v2/comments/{comment_id}', undefined, params)
|
|
@@ -1694,7 +1695,7 @@ export default function register(api) {
|
|
|
1694
1695
|
api.registerTool({
|
|
1695
1696
|
name: 'superagnt_connection_attio_get_v2_meetings',
|
|
1696
1697
|
description: "List meetings",
|
|
1697
|
-
|
|
1698
|
+
parameters: {
|
|
1698
1699
|
"type": "object",
|
|
1699
1700
|
"properties": {
|
|
1700
1701
|
"limit": {
|
|
@@ -1741,7 +1742,7 @@ export default function register(api) {
|
|
|
1741
1742
|
}
|
|
1742
1743
|
}
|
|
1743
1744
|
},
|
|
1744
|
-
execute: async (input) => {
|
|
1745
|
+
execute: async (_toolCallId, input) => {
|
|
1745
1746
|
const key = ensureApiKey()
|
|
1746
1747
|
const params = parseToolInput(input)
|
|
1747
1748
|
return callSuperagnt(key, 'GET', '/v2/meetings', params)
|
|
@@ -1751,7 +1752,7 @@ export default function register(api) {
|
|
|
1751
1752
|
api.registerTool({
|
|
1752
1753
|
name: 'superagnt_connection_attio_post_v2_meetings',
|
|
1753
1754
|
description: "Find or create a meeting",
|
|
1754
|
-
|
|
1755
|
+
parameters: {
|
|
1755
1756
|
"type": "object",
|
|
1756
1757
|
"properties": {
|
|
1757
1758
|
"data": {
|
|
@@ -1763,7 +1764,7 @@ export default function register(api) {
|
|
|
1763
1764
|
"data"
|
|
1764
1765
|
]
|
|
1765
1766
|
},
|
|
1766
|
-
execute: async (input) => {
|
|
1767
|
+
execute: async (_toolCallId, input) => {
|
|
1767
1768
|
const key = ensureApiKey()
|
|
1768
1769
|
const params = parseToolInput(input)
|
|
1769
1770
|
return callSuperagnt(key, 'POST', '/v2/meetings', undefined, params)
|
|
@@ -1773,7 +1774,7 @@ export default function register(api) {
|
|
|
1773
1774
|
api.registerTool({
|
|
1774
1775
|
name: 'superagnt_connection_attio_get_v2_meetings__meeting_id_',
|
|
1775
1776
|
description: "Get a meeting",
|
|
1776
|
-
|
|
1777
|
+
parameters: {
|
|
1777
1778
|
"type": "object",
|
|
1778
1779
|
"properties": {
|
|
1779
1780
|
"meeting_id": {
|
|
@@ -1785,7 +1786,7 @@ export default function register(api) {
|
|
|
1785
1786
|
"meeting_id"
|
|
1786
1787
|
]
|
|
1787
1788
|
},
|
|
1788
|
-
execute: async (input) => {
|
|
1789
|
+
execute: async (_toolCallId, input) => {
|
|
1789
1790
|
const key = ensureApiKey()
|
|
1790
1791
|
const params = parseToolInput(input)
|
|
1791
1792
|
return callSuperagnt(key, 'GET', '/v2/meetings/{meeting_id}', params)
|
|
@@ -1795,7 +1796,7 @@ export default function register(api) {
|
|
|
1795
1796
|
api.registerTool({
|
|
1796
1797
|
name: 'superagnt_connection_attio_list_call_recordings',
|
|
1797
1798
|
description: "List call recordings",
|
|
1798
|
-
|
|
1799
|
+
parameters: {
|
|
1799
1800
|
"type": "object",
|
|
1800
1801
|
"properties": {
|
|
1801
1802
|
"meeting_id": {
|
|
@@ -1815,7 +1816,7 @@ export default function register(api) {
|
|
|
1815
1816
|
"meeting_id"
|
|
1816
1817
|
]
|
|
1817
1818
|
},
|
|
1818
|
-
execute: async (input) => {
|
|
1819
|
+
execute: async (_toolCallId, input) => {
|
|
1819
1820
|
const key = ensureApiKey()
|
|
1820
1821
|
const params = parseToolInput(input)
|
|
1821
1822
|
return callSuperagnt(key, 'GET', '/v2/meetings/{meeting_id}/call_recordings', params)
|
|
@@ -1825,7 +1826,7 @@ export default function register(api) {
|
|
|
1825
1826
|
api.registerTool({
|
|
1826
1827
|
name: 'superagnt_connection_attio_create_call_recording',
|
|
1827
1828
|
description: "Create call recording",
|
|
1828
|
-
|
|
1829
|
+
parameters: {
|
|
1829
1830
|
"type": "object",
|
|
1830
1831
|
"properties": {
|
|
1831
1832
|
"meeting_id": {
|
|
@@ -1842,7 +1843,7 @@ export default function register(api) {
|
|
|
1842
1843
|
"data"
|
|
1843
1844
|
]
|
|
1844
1845
|
},
|
|
1845
|
-
execute: async (input) => {
|
|
1846
|
+
execute: async (_toolCallId, input) => {
|
|
1846
1847
|
const key = ensureApiKey()
|
|
1847
1848
|
const params = parseToolInput(input)
|
|
1848
1849
|
return callSuperagnt(key, 'POST', '/v2/meetings/{meeting_id}/call_recordings', undefined, params)
|
|
@@ -1852,7 +1853,7 @@ export default function register(api) {
|
|
|
1852
1853
|
api.registerTool({
|
|
1853
1854
|
name: 'superagnt_connection_attio_get_call_recording',
|
|
1854
1855
|
description: "Get call recording",
|
|
1855
|
-
|
|
1856
|
+
parameters: {
|
|
1856
1857
|
"type": "object",
|
|
1857
1858
|
"properties": {
|
|
1858
1859
|
"meeting_id": {
|
|
@@ -1869,7 +1870,7 @@ export default function register(api) {
|
|
|
1869
1870
|
"call_recording_id"
|
|
1870
1871
|
]
|
|
1871
1872
|
},
|
|
1872
|
-
execute: async (input) => {
|
|
1873
|
+
execute: async (_toolCallId, input) => {
|
|
1873
1874
|
const key = ensureApiKey()
|
|
1874
1875
|
const params = parseToolInput(input)
|
|
1875
1876
|
return callSuperagnt(key, 'GET', '/v2/meetings/{meeting_id}/call_recordings/{call_recording_id}', params)
|
|
@@ -1879,7 +1880,7 @@ export default function register(api) {
|
|
|
1879
1880
|
api.registerTool({
|
|
1880
1881
|
name: 'superagnt_connection_attio_delete_call_recording',
|
|
1881
1882
|
description: "Delete call recording",
|
|
1882
|
-
|
|
1883
|
+
parameters: {
|
|
1883
1884
|
"type": "object",
|
|
1884
1885
|
"properties": {
|
|
1885
1886
|
"meeting_id": {
|
|
@@ -1896,7 +1897,7 @@ export default function register(api) {
|
|
|
1896
1897
|
"call_recording_id"
|
|
1897
1898
|
]
|
|
1898
1899
|
},
|
|
1899
|
-
execute: async (input) => {
|
|
1900
|
+
execute: async (_toolCallId, input) => {
|
|
1900
1901
|
const key = ensureApiKey()
|
|
1901
1902
|
const params = parseToolInput(input)
|
|
1902
1903
|
return callSuperagnt(key, 'DELETE', '/v2/meetings/{meeting_id}/call_recordings/{call_recording_id}', undefined, params)
|
|
@@ -1906,7 +1907,7 @@ export default function register(api) {
|
|
|
1906
1907
|
api.registerTool({
|
|
1907
1908
|
name: 'superagnt_connection_attio_get_call_recording_transcript',
|
|
1908
1909
|
description: "Get call transcript",
|
|
1909
|
-
|
|
1910
|
+
parameters: {
|
|
1910
1911
|
"type": "object",
|
|
1911
1912
|
"properties": {
|
|
1912
1913
|
"meeting_id": {
|
|
@@ -1927,7 +1928,7 @@ export default function register(api) {
|
|
|
1927
1928
|
"call_recording_id"
|
|
1928
1929
|
]
|
|
1929
1930
|
},
|
|
1930
|
-
execute: async (input) => {
|
|
1931
|
+
execute: async (_toolCallId, input) => {
|
|
1931
1932
|
const key = ensureApiKey()
|
|
1932
1933
|
const params = parseToolInput(input)
|
|
1933
1934
|
return callSuperagnt(key, 'GET', '/v2/meetings/{meeting_id}/call_recordings/{call_recording_id}/transcript', params)
|
|
@@ -1937,7 +1938,7 @@ export default function register(api) {
|
|
|
1937
1938
|
api.registerTool({
|
|
1938
1939
|
name: 'superagnt_connection_attio_get_v2_files',
|
|
1939
1940
|
description: "List files",
|
|
1940
|
-
|
|
1941
|
+
parameters: {
|
|
1941
1942
|
"type": "object",
|
|
1942
1943
|
"properties": {
|
|
1943
1944
|
"object": {
|
|
@@ -1970,7 +1971,7 @@ export default function register(api) {
|
|
|
1970
1971
|
"record_id"
|
|
1971
1972
|
]
|
|
1972
1973
|
},
|
|
1973
|
-
execute: async (input) => {
|
|
1974
|
+
execute: async (_toolCallId, input) => {
|
|
1974
1975
|
const key = ensureApiKey()
|
|
1975
1976
|
const params = parseToolInput(input)
|
|
1976
1977
|
return callSuperagnt(key, 'GET', '/v2/files', params)
|
|
@@ -1980,11 +1981,11 @@ export default function register(api) {
|
|
|
1980
1981
|
api.registerTool({
|
|
1981
1982
|
name: 'superagnt_connection_attio_post_v2_files',
|
|
1982
1983
|
description: "Create a folder",
|
|
1983
|
-
|
|
1984
|
+
parameters: {
|
|
1984
1985
|
"type": "object",
|
|
1985
1986
|
"properties": {}
|
|
1986
1987
|
},
|
|
1987
|
-
execute: async (input) => {
|
|
1988
|
+
execute: async (_toolCallId, input) => {
|
|
1988
1989
|
const key = ensureApiKey()
|
|
1989
1990
|
const params = parseToolInput(input)
|
|
1990
1991
|
return callSuperagnt(key, 'POST', '/v2/files', undefined, params)
|
|
@@ -1994,11 +1995,11 @@ export default function register(api) {
|
|
|
1994
1995
|
api.registerTool({
|
|
1995
1996
|
name: 'superagnt_connection_attio_post_v2_files_upload',
|
|
1996
1997
|
description: "Upload a file",
|
|
1997
|
-
|
|
1998
|
+
parameters: {
|
|
1998
1999
|
"type": "object",
|
|
1999
2000
|
"properties": {}
|
|
2000
2001
|
},
|
|
2001
|
-
execute: async (input) => {
|
|
2002
|
+
execute: async (_toolCallId, input) => {
|
|
2002
2003
|
const key = ensureApiKey()
|
|
2003
2004
|
const params = parseToolInput(input)
|
|
2004
2005
|
return callSuperagnt(key, 'POST', '/v2/files/upload', undefined, params)
|
|
@@ -2008,7 +2009,7 @@ export default function register(api) {
|
|
|
2008
2009
|
api.registerTool({
|
|
2009
2010
|
name: 'superagnt_connection_attio_get_v2_files__file_id_',
|
|
2010
2011
|
description: "Get a file",
|
|
2011
|
-
|
|
2012
|
+
parameters: {
|
|
2012
2013
|
"type": "object",
|
|
2013
2014
|
"properties": {
|
|
2014
2015
|
"file_id": {
|
|
@@ -2020,7 +2021,7 @@ export default function register(api) {
|
|
|
2020
2021
|
"file_id"
|
|
2021
2022
|
]
|
|
2022
2023
|
},
|
|
2023
|
-
execute: async (input) => {
|
|
2024
|
+
execute: async (_toolCallId, input) => {
|
|
2024
2025
|
const key = ensureApiKey()
|
|
2025
2026
|
const params = parseToolInput(input)
|
|
2026
2027
|
return callSuperagnt(key, 'GET', '/v2/files/{file_id}', params)
|
|
@@ -2030,7 +2031,7 @@ export default function register(api) {
|
|
|
2030
2031
|
api.registerTool({
|
|
2031
2032
|
name: 'superagnt_connection_attio_delete_v2_files__file_id_',
|
|
2032
2033
|
description: "Delete a file",
|
|
2033
|
-
|
|
2034
|
+
parameters: {
|
|
2034
2035
|
"type": "object",
|
|
2035
2036
|
"properties": {
|
|
2036
2037
|
"file_id": {
|
|
@@ -2042,7 +2043,7 @@ export default function register(api) {
|
|
|
2042
2043
|
"file_id"
|
|
2043
2044
|
]
|
|
2044
2045
|
},
|
|
2045
|
-
execute: async (input) => {
|
|
2046
|
+
execute: async (_toolCallId, input) => {
|
|
2046
2047
|
const key = ensureApiKey()
|
|
2047
2048
|
const params = parseToolInput(input)
|
|
2048
2049
|
return callSuperagnt(key, 'DELETE', '/v2/files/{file_id}', undefined, params)
|
|
@@ -2052,7 +2053,7 @@ export default function register(api) {
|
|
|
2052
2053
|
api.registerTool({
|
|
2053
2054
|
name: 'superagnt_connection_attio_get_v2_files__file_id__download',
|
|
2054
2055
|
description: "Download a file",
|
|
2055
|
-
|
|
2056
|
+
parameters: {
|
|
2056
2057
|
"type": "object",
|
|
2057
2058
|
"properties": {
|
|
2058
2059
|
"file_id": {
|
|
@@ -2064,7 +2065,7 @@ export default function register(api) {
|
|
|
2064
2065
|
"file_id"
|
|
2065
2066
|
]
|
|
2066
2067
|
},
|
|
2067
|
-
execute: async (input) => {
|
|
2068
|
+
execute: async (_toolCallId, input) => {
|
|
2068
2069
|
const key = ensureApiKey()
|
|
2069
2070
|
const params = parseToolInput(input)
|
|
2070
2071
|
return callSuperagnt(key, 'GET', '/v2/files/{file_id}/download', params)
|
|
@@ -2074,11 +2075,11 @@ export default function register(api) {
|
|
|
2074
2075
|
api.registerTool({
|
|
2075
2076
|
name: 'superagnt_connection_attio_get_scim_v2_Schemas',
|
|
2076
2077
|
description: "List SCIM schemas",
|
|
2077
|
-
|
|
2078
|
+
parameters: {
|
|
2078
2079
|
"type": "object",
|
|
2079
2080
|
"properties": {}
|
|
2080
2081
|
},
|
|
2081
|
-
execute: async (input) => {
|
|
2082
|
+
execute: async (_toolCallId, input) => {
|
|
2082
2083
|
const key = ensureApiKey()
|
|
2083
2084
|
const params = parseToolInput(input)
|
|
2084
2085
|
return callSuperagnt(key, 'GET', '/scim/v2/Schemas', params)
|
|
@@ -2088,11 +2089,11 @@ export default function register(api) {
|
|
|
2088
2089
|
api.registerTool({
|
|
2089
2090
|
name: 'superagnt_connection_attio_get_scim_v2_Users',
|
|
2090
2091
|
description: "List SCIM users",
|
|
2091
|
-
|
|
2092
|
+
parameters: {
|
|
2092
2093
|
"type": "object",
|
|
2093
2094
|
"properties": {}
|
|
2094
2095
|
},
|
|
2095
|
-
execute: async (input) => {
|
|
2096
|
+
execute: async (_toolCallId, input) => {
|
|
2096
2097
|
const key = ensureApiKey()
|
|
2097
2098
|
const params = parseToolInput(input)
|
|
2098
2099
|
return callSuperagnt(key, 'GET', '/scim/v2/Users', params)
|
|
@@ -2102,11 +2103,11 @@ export default function register(api) {
|
|
|
2102
2103
|
api.registerTool({
|
|
2103
2104
|
name: 'superagnt_connection_attio_post_scim_v2_Users',
|
|
2104
2105
|
description: "Create SCIM user",
|
|
2105
|
-
|
|
2106
|
+
parameters: {
|
|
2106
2107
|
"type": "object",
|
|
2107
2108
|
"properties": {}
|
|
2108
2109
|
},
|
|
2109
|
-
execute: async (input) => {
|
|
2110
|
+
execute: async (_toolCallId, input) => {
|
|
2110
2111
|
const key = ensureApiKey()
|
|
2111
2112
|
const params = parseToolInput(input)
|
|
2112
2113
|
return callSuperagnt(key, 'POST', '/scim/v2/Users', undefined, params)
|
|
@@ -2116,11 +2117,11 @@ export default function register(api) {
|
|
|
2116
2117
|
api.registerTool({
|
|
2117
2118
|
name: 'superagnt_connection_attio_get_scim_v2_Groups',
|
|
2118
2119
|
description: "List SCIM groups",
|
|
2119
|
-
|
|
2120
|
+
parameters: {
|
|
2120
2121
|
"type": "object",
|
|
2121
2122
|
"properties": {}
|
|
2122
2123
|
},
|
|
2123
|
-
execute: async (input) => {
|
|
2124
|
+
execute: async (_toolCallId, input) => {
|
|
2124
2125
|
const key = ensureApiKey()
|
|
2125
2126
|
const params = parseToolInput(input)
|
|
2126
2127
|
return callSuperagnt(key, 'GET', '/scim/v2/Groups', params)
|
|
@@ -2130,11 +2131,11 @@ export default function register(api) {
|
|
|
2130
2131
|
api.registerTool({
|
|
2131
2132
|
name: 'superagnt_connection_attio_post_scim_v2_Groups',
|
|
2132
2133
|
description: "Create SCIM group",
|
|
2133
|
-
|
|
2134
|
+
parameters: {
|
|
2134
2135
|
"type": "object",
|
|
2135
2136
|
"properties": {}
|
|
2136
2137
|
},
|
|
2137
|
-
execute: async (input) => {
|
|
2138
|
+
execute: async (_toolCallId, input) => {
|
|
2138
2139
|
const key = ensureApiKey()
|
|
2139
2140
|
const params = parseToolInput(input)
|
|
2140
2141
|
return callSuperagnt(key, 'POST', '/scim/v2/Groups', undefined, params)
|
|
@@ -2144,11 +2145,11 @@ export default function register(api) {
|
|
|
2144
2145
|
api.registerTool({
|
|
2145
2146
|
name: 'superagnt_connection_attio_get_scim_v2_Users__user_id_',
|
|
2146
2147
|
description: "Get SCIM user",
|
|
2147
|
-
|
|
2148
|
+
parameters: {
|
|
2148
2149
|
"type": "object",
|
|
2149
2150
|
"properties": {}
|
|
2150
2151
|
},
|
|
2151
|
-
execute: async (input) => {
|
|
2152
|
+
execute: async (_toolCallId, input) => {
|
|
2152
2153
|
const key = ensureApiKey()
|
|
2153
2154
|
const params = parseToolInput(input)
|
|
2154
2155
|
return callSuperagnt(key, 'GET', '/scim/v2/Users/{user_id}', params)
|
|
@@ -2158,11 +2159,11 @@ export default function register(api) {
|
|
|
2158
2159
|
api.registerTool({
|
|
2159
2160
|
name: 'superagnt_connection_attio_put_scim_v2_Users__user_id_',
|
|
2160
2161
|
description: "Update SCIM user",
|
|
2161
|
-
|
|
2162
|
+
parameters: {
|
|
2162
2163
|
"type": "object",
|
|
2163
2164
|
"properties": {}
|
|
2164
2165
|
},
|
|
2165
|
-
execute: async (input) => {
|
|
2166
|
+
execute: async (_toolCallId, input) => {
|
|
2166
2167
|
const key = ensureApiKey()
|
|
2167
2168
|
const params = parseToolInput(input)
|
|
2168
2169
|
return callSuperagnt(key, 'PUT', '/scim/v2/Users/{user_id}', undefined, params)
|
|
@@ -2172,11 +2173,11 @@ export default function register(api) {
|
|
|
2172
2173
|
api.registerTool({
|
|
2173
2174
|
name: 'superagnt_connection_attio_patch_scim_v2_Users__user_id_',
|
|
2174
2175
|
description: "Patch SCIM user",
|
|
2175
|
-
|
|
2176
|
+
parameters: {
|
|
2176
2177
|
"type": "object",
|
|
2177
2178
|
"properties": {}
|
|
2178
2179
|
},
|
|
2179
|
-
execute: async (input) => {
|
|
2180
|
+
execute: async (_toolCallId, input) => {
|
|
2180
2181
|
const key = ensureApiKey()
|
|
2181
2182
|
const params = parseToolInput(input)
|
|
2182
2183
|
return callSuperagnt(key, 'PATCH', '/scim/v2/Users/{user_id}', undefined, params)
|
|
@@ -2186,11 +2187,11 @@ export default function register(api) {
|
|
|
2186
2187
|
api.registerTool({
|
|
2187
2188
|
name: 'superagnt_connection_attio_delete_scim_v2_Users__user_id_',
|
|
2188
2189
|
description: "Delete SCIM user",
|
|
2189
|
-
|
|
2190
|
+
parameters: {
|
|
2190
2191
|
"type": "object",
|
|
2191
2192
|
"properties": {}
|
|
2192
2193
|
},
|
|
2193
|
-
execute: async (input) => {
|
|
2194
|
+
execute: async (_toolCallId, input) => {
|
|
2194
2195
|
const key = ensureApiKey()
|
|
2195
2196
|
const params = parseToolInput(input)
|
|
2196
2197
|
return callSuperagnt(key, 'DELETE', '/scim/v2/Users/{user_id}', undefined, params)
|
|
@@ -2200,11 +2201,11 @@ export default function register(api) {
|
|
|
2200
2201
|
api.registerTool({
|
|
2201
2202
|
name: 'superagnt_connection_attio_scim_get_group',
|
|
2202
2203
|
description: "Get SCIM group",
|
|
2203
|
-
|
|
2204
|
+
parameters: {
|
|
2204
2205
|
"type": "object",
|
|
2205
2206
|
"properties": {}
|
|
2206
2207
|
},
|
|
2207
|
-
execute: async (input) => {
|
|
2208
|
+
execute: async (_toolCallId, input) => {
|
|
2208
2209
|
const key = ensureApiKey()
|
|
2209
2210
|
const params = parseToolInput(input)
|
|
2210
2211
|
return callSuperagnt(key, 'GET', '/scim/v2/Groups/{workspace_team_id}', params)
|
|
@@ -2214,11 +2215,11 @@ export default function register(api) {
|
|
|
2214
2215
|
api.registerTool({
|
|
2215
2216
|
name: 'superagnt_connection_attio_scim_replace_group',
|
|
2216
2217
|
description: "Update SCIM group",
|
|
2217
|
-
|
|
2218
|
+
parameters: {
|
|
2218
2219
|
"type": "object",
|
|
2219
2220
|
"properties": {}
|
|
2220
2221
|
},
|
|
2221
|
-
execute: async (input) => {
|
|
2222
|
+
execute: async (_toolCallId, input) => {
|
|
2222
2223
|
const key = ensureApiKey()
|
|
2223
2224
|
const params = parseToolInput(input)
|
|
2224
2225
|
return callSuperagnt(key, 'PUT', '/scim/v2/Groups/{workspace_team_id}', undefined, params)
|
|
@@ -2228,11 +2229,11 @@ export default function register(api) {
|
|
|
2228
2229
|
api.registerTool({
|
|
2229
2230
|
name: 'superagnt_connection_attio_scim_patch_group',
|
|
2230
2231
|
description: "Patch SCIM group",
|
|
2231
|
-
|
|
2232
|
+
parameters: {
|
|
2232
2233
|
"type": "object",
|
|
2233
2234
|
"properties": {}
|
|
2234
2235
|
},
|
|
2235
|
-
execute: async (input) => {
|
|
2236
|
+
execute: async (_toolCallId, input) => {
|
|
2236
2237
|
const key = ensureApiKey()
|
|
2237
2238
|
const params = parseToolInput(input)
|
|
2238
2239
|
return callSuperagnt(key, 'PATCH', '/scim/v2/Groups/{workspace_team_id}', undefined, params)
|
|
@@ -2242,11 +2243,11 @@ export default function register(api) {
|
|
|
2242
2243
|
api.registerTool({
|
|
2243
2244
|
name: 'superagnt_connection_attio_scim_delete_group',
|
|
2244
2245
|
description: "Delete SCIM group",
|
|
2245
|
-
|
|
2246
|
+
parameters: {
|
|
2246
2247
|
"type": "object",
|
|
2247
2248
|
"properties": {}
|
|
2248
2249
|
},
|
|
2249
|
-
execute: async (input) => {
|
|
2250
|
+
execute: async (_toolCallId, input) => {
|
|
2250
2251
|
const key = ensureApiKey()
|
|
2251
2252
|
const params = parseToolInput(input)
|
|
2252
2253
|
return callSuperagnt(key, 'DELETE', '/scim/v2/Groups/{workspace_team_id}', undefined, params)
|
|
@@ -2256,7 +2257,7 @@ export default function register(api) {
|
|
|
2256
2257
|
api.registerTool({
|
|
2257
2258
|
name: 'superagnt_connection_attio_get_v2_webhooks',
|
|
2258
2259
|
description: "List webhooks",
|
|
2259
|
-
|
|
2260
|
+
parameters: {
|
|
2260
2261
|
"type": "object",
|
|
2261
2262
|
"properties": {
|
|
2262
2263
|
"limit": {
|
|
@@ -2269,7 +2270,7 @@ export default function register(api) {
|
|
|
2269
2270
|
}
|
|
2270
2271
|
}
|
|
2271
2272
|
},
|
|
2272
|
-
execute: async (input) => {
|
|
2273
|
+
execute: async (_toolCallId, input) => {
|
|
2273
2274
|
const key = ensureApiKey()
|
|
2274
2275
|
const params = parseToolInput(input)
|
|
2275
2276
|
return callSuperagnt(key, 'GET', '/v2/webhooks', params)
|
|
@@ -2279,7 +2280,7 @@ export default function register(api) {
|
|
|
2279
2280
|
api.registerTool({
|
|
2280
2281
|
name: 'superagnt_connection_attio_post_v2_webhooks',
|
|
2281
2282
|
description: "Create a webhook",
|
|
2282
|
-
|
|
2283
|
+
parameters: {
|
|
2283
2284
|
"type": "object",
|
|
2284
2285
|
"properties": {
|
|
2285
2286
|
"data": {
|
|
@@ -2291,7 +2292,7 @@ export default function register(api) {
|
|
|
2291
2292
|
"data"
|
|
2292
2293
|
]
|
|
2293
2294
|
},
|
|
2294
|
-
execute: async (input) => {
|
|
2295
|
+
execute: async (_toolCallId, input) => {
|
|
2295
2296
|
const key = ensureApiKey()
|
|
2296
2297
|
const params = parseToolInput(input)
|
|
2297
2298
|
return callSuperagnt(key, 'POST', '/v2/webhooks', undefined, params)
|
|
@@ -2301,7 +2302,7 @@ export default function register(api) {
|
|
|
2301
2302
|
api.registerTool({
|
|
2302
2303
|
name: 'superagnt_connection_attio_get_v2_webhooks__webhook_id_',
|
|
2303
2304
|
description: "Get a webhook",
|
|
2304
|
-
|
|
2305
|
+
parameters: {
|
|
2305
2306
|
"type": "object",
|
|
2306
2307
|
"properties": {
|
|
2307
2308
|
"webhook_id": {
|
|
@@ -2313,7 +2314,7 @@ export default function register(api) {
|
|
|
2313
2314
|
"webhook_id"
|
|
2314
2315
|
]
|
|
2315
2316
|
},
|
|
2316
|
-
execute: async (input) => {
|
|
2317
|
+
execute: async (_toolCallId, input) => {
|
|
2317
2318
|
const key = ensureApiKey()
|
|
2318
2319
|
const params = parseToolInput(input)
|
|
2319
2320
|
return callSuperagnt(key, 'GET', '/v2/webhooks/{webhook_id}', params)
|
|
@@ -2323,7 +2324,7 @@ export default function register(api) {
|
|
|
2323
2324
|
api.registerTool({
|
|
2324
2325
|
name: 'superagnt_connection_attio_patch_v2_webhooks__webhook_id_',
|
|
2325
2326
|
description: "Update a webhook",
|
|
2326
|
-
|
|
2327
|
+
parameters: {
|
|
2327
2328
|
"type": "object",
|
|
2328
2329
|
"properties": {
|
|
2329
2330
|
"webhook_id": {
|
|
@@ -2340,7 +2341,7 @@ export default function register(api) {
|
|
|
2340
2341
|
"data"
|
|
2341
2342
|
]
|
|
2342
2343
|
},
|
|
2343
|
-
execute: async (input) => {
|
|
2344
|
+
execute: async (_toolCallId, input) => {
|
|
2344
2345
|
const key = ensureApiKey()
|
|
2345
2346
|
const params = parseToolInput(input)
|
|
2346
2347
|
return callSuperagnt(key, 'PATCH', '/v2/webhooks/{webhook_id}', undefined, params)
|
|
@@ -2350,7 +2351,7 @@ export default function register(api) {
|
|
|
2350
2351
|
api.registerTool({
|
|
2351
2352
|
name: 'superagnt_connection_attio_delete_v2_webhooks__webhook_id_',
|
|
2352
2353
|
description: "Delete a webhook",
|
|
2353
|
-
|
|
2354
|
+
parameters: {
|
|
2354
2355
|
"type": "object",
|
|
2355
2356
|
"properties": {
|
|
2356
2357
|
"webhook_id": {
|
|
@@ -2362,7 +2363,7 @@ export default function register(api) {
|
|
|
2362
2363
|
"webhook_id"
|
|
2363
2364
|
]
|
|
2364
2365
|
},
|
|
2365
|
-
execute: async (input) => {
|
|
2366
|
+
execute: async (_toolCallId, input) => {
|
|
2366
2367
|
const key = ensureApiKey()
|
|
2367
2368
|
const params = parseToolInput(input)
|
|
2368
2369
|
return callSuperagnt(key, 'DELETE', '/v2/webhooks/{webhook_id}', undefined, params)
|
|
@@ -2372,11 +2373,11 @@ export default function register(api) {
|
|
|
2372
2373
|
api.registerTool({
|
|
2373
2374
|
name: 'superagnt_connection_attio_get_v2_self',
|
|
2374
2375
|
description: "Identify",
|
|
2375
|
-
|
|
2376
|
+
parameters: {
|
|
2376
2377
|
"type": "object",
|
|
2377
2378
|
"properties": {}
|
|
2378
2379
|
},
|
|
2379
|
-
execute: async (input) => {
|
|
2380
|
+
execute: async (_toolCallId, input) => {
|
|
2380
2381
|
const key = ensureApiKey()
|
|
2381
2382
|
const params = parseToolInput(input)
|
|
2382
2383
|
return callSuperagnt(key, 'GET', '/v2/self', params)
|