@deckco/cli 0.0.0-stage → 1.0.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.
@@ -0,0 +1,3949 @@
1
+ {
2
+ "spec_version": "2.0.0.552",
3
+ "rows": [
4
+ {
5
+ "command": "task-runs cancel",
6
+ "tool": "cancel_task_run",
7
+ "operationId": "cancelTaskRun",
8
+ "description": "Cancel a task run",
9
+ "method": "POST",
10
+ "path": "/v2/task-runs/{run_id}/cancel",
11
+ "path_params": [
12
+ {
13
+ "name": "run_id",
14
+ "required": true,
15
+ "schema": {
16
+ "type": "string"
17
+ },
18
+ "id_prefix": "trun_"
19
+ }
20
+ ],
21
+ "query_params": [],
22
+ "body_schema": null,
23
+ "unnamed_in_spec": false,
24
+ "destructive": false,
25
+ "core": false,
26
+ "sensitive_rule": false,
27
+ "mcp": true,
28
+ "anonymous": false,
29
+ "scope": "deck:write"
30
+ },
31
+ {
32
+ "command": "workflow-runs cancel",
33
+ "tool": "cancel_workflow_run",
34
+ "operationId": "cancelWorkflowRun",
35
+ "description": "Cancel a workflow run",
36
+ "method": "POST",
37
+ "path": "/v2/workflow-runs/{workflow_run_id}/cancel",
38
+ "path_params": [
39
+ {
40
+ "name": "workflow_run_id",
41
+ "required": true,
42
+ "schema": {
43
+ "type": "string"
44
+ },
45
+ "id_prefix": "wrun_"
46
+ }
47
+ ],
48
+ "query_params": [],
49
+ "body_schema": null,
50
+ "unnamed_in_spec": false,
51
+ "destructive": false,
52
+ "core": false,
53
+ "sensitive_rule": false,
54
+ "mcp": true,
55
+ "anonymous": false,
56
+ "scope": "deck:write"
57
+ },
58
+ {
59
+ "command": "organizations claim",
60
+ "tool": "claim_organization",
61
+ "operationId": "claimOrganization",
62
+ "description": "Claims an organization: the person who opened the link becomes its first admin, which is what\nunblocks execution.",
63
+ "method": "POST",
64
+ "path": "/v2/organizations/claim",
65
+ "path_params": [],
66
+ "query_params": [],
67
+ "body_schema": {
68
+ "required": [
69
+ "token"
70
+ ],
71
+ "type": "object",
72
+ "properties": {
73
+ "token": {
74
+ "type": [
75
+ "null",
76
+ "string"
77
+ ]
78
+ }
79
+ }
80
+ },
81
+ "unnamed_in_spec": false,
82
+ "destructive": false,
83
+ "core": false,
84
+ "sensitive_rule": false,
85
+ "mcp": true,
86
+ "anonymous": false,
87
+ "scope": "deck:write"
88
+ },
89
+ {
90
+ "command": "agents create",
91
+ "tool": "create_agent",
92
+ "operationId": "createAgent",
93
+ "description": "Create an agent",
94
+ "method": "POST",
95
+ "path": "/v2/agents",
96
+ "path_params": [],
97
+ "query_params": [],
98
+ "body_schema": {
99
+ "required": [
100
+ "name"
101
+ ],
102
+ "type": "object",
103
+ "properties": {
104
+ "name": {
105
+ "type": "string",
106
+ "description": "Display name for the agent."
107
+ },
108
+ "description": {
109
+ "type": [
110
+ "null",
111
+ "string"
112
+ ],
113
+ "description": "Optional description of the agent's purpose."
114
+ }
115
+ }
116
+ },
117
+ "unnamed_in_spec": false,
118
+ "destructive": false,
119
+ "core": false,
120
+ "sensitive_rule": false,
121
+ "mcp": true,
122
+ "anonymous": false,
123
+ "scope": "deck:write"
124
+ },
125
+ {
126
+ "command": "credentials create",
127
+ "tool": "create_credential",
128
+ "operationId": "createCredential",
129
+ "description": "Create a credential",
130
+ "method": "POST",
131
+ "path": "/v2/credentials",
132
+ "path_params": [],
133
+ "query_params": [],
134
+ "body_schema": {
135
+ "required": [
136
+ "source_id"
137
+ ],
138
+ "type": "object",
139
+ "properties": {
140
+ "source_id": {
141
+ "type": "string",
142
+ "description": "ID of the source these credentials are for."
143
+ },
144
+ "auth_method": {
145
+ "type": [
146
+ "null",
147
+ "string"
148
+ ],
149
+ "description": "Authentication method: none, username_password, google_sso, apple_sso, encryption_key, username, api_key, source_fields. Inferred from auth_credentials when omitted, except google_sso and apple_sso, which must be sent and take {email, password}."
150
+ },
151
+ "auth_credentials": {},
152
+ "external_id": {
153
+ "type": [
154
+ "null",
155
+ "string"
156
+ ],
157
+ "description": "Optional external identifier for correlating with your own systems."
158
+ },
159
+ "persistence": {
160
+ "required": [
161
+ "enabled"
162
+ ],
163
+ "type": "object",
164
+ "properties": {
165
+ "enabled": {
166
+ "type": "boolean",
167
+ "description": "Whether persistence is enabled for this credential. Disabling deletes the saved state; re-enabling starts fresh."
168
+ }
169
+ }
170
+ },
171
+ "interactions_managed": {
172
+ "type": "object",
173
+ "properties": {
174
+ "enabled": {
175
+ "type": [
176
+ "null",
177
+ "boolean"
178
+ ],
179
+ "description": "Whether Deck answers interactions for this credential. Defaults to false."
180
+ },
181
+ "methods": {
182
+ "type": [
183
+ "null",
184
+ "array"
185
+ ],
186
+ "items": {
187
+ "type": "object",
188
+ "properties": {
189
+ "type": {
190
+ "type": [
191
+ "null",
192
+ "string"
193
+ ],
194
+ "description": "Method type: \"security_question\"."
195
+ },
196
+ "questions": {
197
+ "type": [
198
+ "null",
199
+ "array"
200
+ ],
201
+ "items": {
202
+ "type": "object",
203
+ "properties": {
204
+ "text": {
205
+ "type": [
206
+ "null",
207
+ "string"
208
+ ],
209
+ "description": "The question as the source shows it."
210
+ },
211
+ "answer": {
212
+ "type": [
213
+ "null",
214
+ "string"
215
+ ],
216
+ "description": "Write-only. The answer to give."
217
+ }
218
+ }
219
+ },
220
+ "description": "security_question: the questions Deck can answer. `answer` is write-only; an entry with `text` and no `answer` keeps its saved answer. Entries left out are deleted."
221
+ },
222
+ "capture": {
223
+ "type": "object",
224
+ "properties": {
225
+ "enabled": {
226
+ "type": [
227
+ "null",
228
+ "boolean"
229
+ ],
230
+ "description": "Whether capture is on. Requires `fallback.enabled`. Defaults to false; omit to leave it unchanged."
231
+ }
232
+ }
233
+ },
234
+ "provider": {
235
+ "type": [
236
+ "null",
237
+ "string"
238
+ ],
239
+ "description": "email / sms: the connected provider that delivers codes."
240
+ }
241
+ }
242
+ },
243
+ "description": "The methods Deck may use, in priority order. One method per type."
244
+ },
245
+ "fallback": {
246
+ "type": "object",
247
+ "properties": {
248
+ "enabled": {
249
+ "type": [
250
+ "null",
251
+ "boolean"
252
+ ],
253
+ "description": "Hand an interaction no method can answer to you, instead of failing the run. Defaults to true; omit to leave it unchanged."
254
+ }
255
+ }
256
+ }
257
+ }
258
+ },
259
+ "geolocation": {
260
+ "required": [
261
+ "country"
262
+ ],
263
+ "type": "object",
264
+ "properties": {
265
+ "country": {
266
+ "type": [
267
+ "null",
268
+ "string"
269
+ ],
270
+ "description": "ISO 3166-1 alpha-2 country code (case-insensitive), from the supported list. Every run with this credential gets a Deck IP in this country; a run never falls back to another country."
271
+ }
272
+ }
273
+ }
274
+ }
275
+ },
276
+ "unnamed_in_spec": false,
277
+ "destructive": false,
278
+ "core": false,
279
+ "sensitive_rule": false,
280
+ "mcp": false,
281
+ "anonymous": false,
282
+ "scope": "deck:write"
283
+ },
284
+ {
285
+ "command": "event-destinations create",
286
+ "tool": "create_event_destination",
287
+ "operationId": "createEventDestination",
288
+ "description": "Create an event destination",
289
+ "method": "POST",
290
+ "path": "/v2/event-destinations",
291
+ "path_params": [],
292
+ "query_params": [],
293
+ "body_schema": {
294
+ "required": [
295
+ "name"
296
+ ],
297
+ "type": "object",
298
+ "properties": {
299
+ "name": {
300
+ "type": "string"
301
+ },
302
+ "type": {
303
+ "type": "string"
304
+ },
305
+ "events": {
306
+ "type": [
307
+ "null",
308
+ "array"
309
+ ],
310
+ "items": {
311
+ "type": "string"
312
+ }
313
+ },
314
+ "filter": {},
315
+ "type_config": {}
316
+ }
317
+ },
318
+ "unnamed_in_spec": false,
319
+ "destructive": false,
320
+ "core": false,
321
+ "sensitive_rule": false,
322
+ "mcp": true,
323
+ "anonymous": false,
324
+ "scope": "deck:write"
325
+ },
326
+ {
327
+ "command": "routines create",
328
+ "tool": "create_routine",
329
+ "operationId": "createRoutine",
330
+ "description": "Create a routine",
331
+ "method": "POST",
332
+ "path": "/v2/routines",
333
+ "path_params": [],
334
+ "query_params": [],
335
+ "body_schema": {
336
+ "required": [
337
+ "task_id",
338
+ "source_id",
339
+ "name",
340
+ "type"
341
+ ],
342
+ "type": "object",
343
+ "properties": {
344
+ "task_id": {
345
+ "type": "string"
346
+ },
347
+ "source_id": {
348
+ "type": "string"
349
+ },
350
+ "name": {
351
+ "type": "string"
352
+ },
353
+ "type": {
354
+ "type": "string"
355
+ },
356
+ "payload": {}
357
+ }
358
+ },
359
+ "unnamed_in_spec": false,
360
+ "destructive": false,
361
+ "core": false,
362
+ "sensitive_rule": false,
363
+ "mcp": true,
364
+ "anonymous": false,
365
+ "scope": "deck:write"
366
+ },
367
+ {
368
+ "command": "token create",
369
+ "tool": "create_session_token",
370
+ "operationId": "createSessionToken",
371
+ "description": "Create a session token",
372
+ "method": "POST",
373
+ "path": "/v2/token",
374
+ "path_params": [],
375
+ "query_params": [],
376
+ "body_schema": null,
377
+ "unnamed_in_spec": false,
378
+ "destructive": false,
379
+ "core": false,
380
+ "sensitive_rule": false,
381
+ "mcp": false,
382
+ "anonymous": false,
383
+ "scope": "deck:write"
384
+ },
385
+ {
386
+ "command": "sources create",
387
+ "tool": "create_source",
388
+ "operationId": "createSource",
389
+ "description": "Create a source",
390
+ "method": "POST",
391
+ "path": "/v2/sources",
392
+ "path_params": [],
393
+ "query_params": [],
394
+ "body_schema": {
395
+ "required": [
396
+ "type",
397
+ "website"
398
+ ],
399
+ "type": "object",
400
+ "properties": {
401
+ "type": {
402
+ "type": "string",
403
+ "description": "Source type. Use \"website\" for web-based sources."
404
+ },
405
+ "website": {
406
+ "required": [
407
+ "url"
408
+ ],
409
+ "type": "object",
410
+ "properties": {
411
+ "url": {
412
+ "type": "string",
413
+ "description": "The base URL of the website."
414
+ }
415
+ }
416
+ },
417
+ "name": {
418
+ "type": [
419
+ "null",
420
+ "string"
421
+ ],
422
+ "description": "Optional display name for the source."
423
+ },
424
+ "headers": {},
425
+ "network": {
426
+ "required": [
427
+ "type"
428
+ ],
429
+ "type": "object",
430
+ "properties": {
431
+ "type": {
432
+ "type": "string",
433
+ "description": "The source's network path: \"default\" for normal egress, or \"static_ips\" to route every run against this source through Deck's allowlistable static-IP block."
434
+ },
435
+ "static_ips": {}
436
+ }
437
+ }
438
+ }
439
+ },
440
+ "unnamed_in_spec": false,
441
+ "destructive": false,
442
+ "core": true,
443
+ "sensitive_rule": false,
444
+ "mcp": true,
445
+ "anonymous": false,
446
+ "scope": "deck:write"
447
+ },
448
+ {
449
+ "command": "tasks create",
450
+ "tool": "create_task",
451
+ "operationId": "createTask",
452
+ "description": "Create a task",
453
+ "method": "POST",
454
+ "path": "/v2/tasks",
455
+ "path_params": [],
456
+ "query_params": [],
457
+ "body_schema": {
458
+ "required": [
459
+ "name",
460
+ "agent_id"
461
+ ],
462
+ "type": "object",
463
+ "properties": {
464
+ "name": {
465
+ "type": "string",
466
+ "description": "Display name for the task."
467
+ },
468
+ "agent_id": {
469
+ "type": "string",
470
+ "description": "ID of the agent that will execute this task."
471
+ },
472
+ "input_schema": {},
473
+ "output_schema": {},
474
+ "prompt": {
475
+ "type": [
476
+ "null",
477
+ "string"
478
+ ],
479
+ "description": "Natural language instructions for the agent to follow when executing this task."
480
+ },
481
+ "storage": {},
482
+ "settings": {}
483
+ }
484
+ },
485
+ "unnamed_in_spec": false,
486
+ "destructive": false,
487
+ "core": true,
488
+ "sensitive_rule": false,
489
+ "mcp": true,
490
+ "anonymous": false,
491
+ "scope": "deck:write"
492
+ },
493
+ {
494
+ "command": "triggers create",
495
+ "tool": "create_trigger",
496
+ "operationId": "createTrigger",
497
+ "description": "Create a trigger",
498
+ "method": "POST",
499
+ "path": "/v2/triggers",
500
+ "path_params": [],
501
+ "query_params": [],
502
+ "body_schema": {
503
+ "required": [
504
+ "name",
505
+ "condition"
506
+ ],
507
+ "type": "object",
508
+ "properties": {
509
+ "name": {
510
+ "type": "string",
511
+ "description": "Human-readable name."
512
+ },
513
+ "description": {
514
+ "type": [
515
+ "null",
516
+ "string"
517
+ ],
518
+ "description": "Optional description."
519
+ },
520
+ "condition": {},
521
+ "task_id": {
522
+ "type": [
523
+ "null",
524
+ "string"
525
+ ],
526
+ "description": "Task to run. Exactly one of `task_id` / `workflow_id`."
527
+ },
528
+ "workflow_id": {
529
+ "type": [
530
+ "null",
531
+ "string"
532
+ ],
533
+ "description": "Workflow to run. Exactly one of `task_id` / `workflow_id`."
534
+ },
535
+ "credential_ids": {
536
+ "type": [
537
+ "null",
538
+ "array"
539
+ ],
540
+ "items": {
541
+ "type": "string"
542
+ },
543
+ "description": "Explicit credentials, one or many. The run target for a task; the (optional) fan-out set for a workflow."
544
+ },
545
+ "credential_filter": {},
546
+ "input": {},
547
+ "steps": {},
548
+ "skip_if": {},
549
+ "concurrency_max": {
550
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
551
+ "type": [
552
+ "null",
553
+ "integer",
554
+ "string"
555
+ ],
556
+ "description": "Max simultaneous runs from this trigger.",
557
+ "format": "int32"
558
+ }
559
+ }
560
+ },
561
+ "unnamed_in_spec": false,
562
+ "destructive": false,
563
+ "core": false,
564
+ "sensitive_rule": false,
565
+ "mcp": true,
566
+ "anonymous": false,
567
+ "scope": "deck:write"
568
+ },
569
+ {
570
+ "command": "workflows create",
571
+ "tool": "create_workflow",
572
+ "operationId": "createWorkflow",
573
+ "description": "Create a workflow",
574
+ "method": "POST",
575
+ "path": "/v2/workflows",
576
+ "path_params": [],
577
+ "query_params": [],
578
+ "body_schema": {
579
+ "required": [
580
+ "name",
581
+ "steps"
582
+ ],
583
+ "type": "object",
584
+ "properties": {
585
+ "name": {
586
+ "type": "string",
587
+ "description": "Display name for the workflow."
588
+ },
589
+ "steps": {
590
+ "type": "array",
591
+ "items": {
592
+ "required": [
593
+ "type"
594
+ ],
595
+ "type": "object",
596
+ "discriminator": {
597
+ "propertyName": "type",
598
+ "mapping": {
599
+ "task": "#/components/schemas/WorkflowStepWorkflowTaskStep",
600
+ "for_each": "#/components/schemas/WorkflowStepWorkflowForEachStep"
601
+ }
602
+ },
603
+ "anyOf": [
604
+ {
605
+ "required": [
606
+ "name",
607
+ "task_id"
608
+ ],
609
+ "properties": {
610
+ "type": {
611
+ "enum": [
612
+ "task"
613
+ ],
614
+ "type": "string"
615
+ },
616
+ "name": {
617
+ "type": "string",
618
+ "description": "Step identifier, unique within the workflow. Lowercase letters, digits, and underscores."
619
+ },
620
+ "task_id": {
621
+ "type": "string",
622
+ "description": "The task to run. The agent is derived from the task."
623
+ },
624
+ "credential_id": {
625
+ "type": [
626
+ "null",
627
+ "string"
628
+ ],
629
+ "description": "Credential for the task run. Mutually exclusive with `source_id`."
630
+ },
631
+ "source_id": {
632
+ "type": [
633
+ "null",
634
+ "string"
635
+ ],
636
+ "description": "Source for the task run, for public sources that don't require authentication. Mutually exclusive with `credential_id`."
637
+ },
638
+ "input": {},
639
+ "if": {
640
+ "type": [
641
+ "null",
642
+ "string"
643
+ ],
644
+ "description": "Condition expression. When it evaluates false the step is `skipped`."
645
+ }
646
+ }
647
+ },
648
+ {
649
+ "required": [
650
+ "name",
651
+ "items",
652
+ "step"
653
+ ],
654
+ "properties": {
655
+ "type": {
656
+ "enum": [
657
+ "for_each"
658
+ ],
659
+ "type": "string"
660
+ },
661
+ "name": {
662
+ "type": "string",
663
+ "description": "Step identifier, unique within the workflow. Lowercase letters, digits, and underscores."
664
+ },
665
+ "items": {
666
+ "type": "string",
667
+ "description": "Path to the array to iterate, on an earlier step's output."
668
+ },
669
+ "step": {
670
+ "required": [
671
+ "task_id"
672
+ ],
673
+ "type": "object",
674
+ "properties": {
675
+ "type": {
676
+ "type": [
677
+ "null",
678
+ "string"
679
+ ],
680
+ "description": "`task`. May be omitted; a loop's inner step is always a task."
681
+ },
682
+ "task_id": {
683
+ "type": "string",
684
+ "description": "The task to run. The agent is derived from the task."
685
+ },
686
+ "credential_id": {
687
+ "type": [
688
+ "null",
689
+ "string"
690
+ ],
691
+ "description": "Credential for the task run. Mutually exclusive with `source_id`."
692
+ },
693
+ "source_id": {
694
+ "type": [
695
+ "null",
696
+ "string"
697
+ ],
698
+ "description": "Source for the task run, for public sources that don't require authentication. Mutually exclusive with `credential_id`."
699
+ },
700
+ "input": {},
701
+ "if": {
702
+ "type": [
703
+ "null",
704
+ "string"
705
+ ],
706
+ "description": "Condition expression gating this item. May read `item`."
707
+ }
708
+ }
709
+ },
710
+ "failure_behavior": {
711
+ "type": [
712
+ "null",
713
+ "string"
714
+ ],
715
+ "description": "`stop` (default) fails the step on the first failed item, which stops the workflow. `continue` runs the remaining items and the workflow carries on; failed items have `null` output."
716
+ },
717
+ "if": {
718
+ "type": [
719
+ "null",
720
+ "string"
721
+ ],
722
+ "description": "Condition expression gating the whole loop. May not read `item`."
723
+ }
724
+ }
725
+ }
726
+ ]
727
+ },
728
+ "description": "Ordered array of step definitions — `task` or `for_each`."
729
+ }
730
+ }
731
+ },
732
+ "unnamed_in_spec": false,
733
+ "destructive": false,
734
+ "core": false,
735
+ "sensitive_rule": false,
736
+ "mcp": true,
737
+ "anonymous": false,
738
+ "scope": "deck:write"
739
+ },
740
+ {
741
+ "command": "agents delete",
742
+ "tool": "delete_agent",
743
+ "operationId": "deleteAgent",
744
+ "description": "Delete an agent",
745
+ "method": "DELETE",
746
+ "path": "/v2/agents/{agent_id}",
747
+ "path_params": [
748
+ {
749
+ "name": "agent_id",
750
+ "required": true,
751
+ "schema": {
752
+ "type": "string"
753
+ },
754
+ "id_prefix": "agt_"
755
+ }
756
+ ],
757
+ "query_params": [],
758
+ "body_schema": null,
759
+ "unnamed_in_spec": false,
760
+ "destructive": true,
761
+ "core": false,
762
+ "sensitive_rule": false,
763
+ "mcp": true,
764
+ "anonymous": false,
765
+ "scope": "deck:write"
766
+ },
767
+ {
768
+ "command": "credentials delete",
769
+ "tool": "delete_credential",
770
+ "operationId": "deleteCredential",
771
+ "description": "Delete a credential",
772
+ "method": "DELETE",
773
+ "path": "/v2/credentials/{credential_id}",
774
+ "path_params": [
775
+ {
776
+ "name": "credential_id",
777
+ "required": true,
778
+ "schema": {
779
+ "type": "string"
780
+ },
781
+ "id_prefix": "cred_"
782
+ }
783
+ ],
784
+ "query_params": [],
785
+ "body_schema": null,
786
+ "unnamed_in_spec": false,
787
+ "destructive": true,
788
+ "core": false,
789
+ "sensitive_rule": false,
790
+ "mcp": true,
791
+ "anonymous": false,
792
+ "scope": "deck:write"
793
+ },
794
+ {
795
+ "command": "event-destinations delete",
796
+ "tool": "delete_event_destination",
797
+ "operationId": "deleteEventDestination",
798
+ "description": "Delete an event destination",
799
+ "method": "DELETE",
800
+ "path": "/v2/event-destinations/{destination_id}",
801
+ "path_params": [
802
+ {
803
+ "name": "destination_id",
804
+ "required": true,
805
+ "schema": {
806
+ "type": "string"
807
+ },
808
+ "id_prefix": "evtd_"
809
+ }
810
+ ],
811
+ "query_params": [],
812
+ "body_schema": null,
813
+ "unnamed_in_spec": false,
814
+ "destructive": true,
815
+ "core": false,
816
+ "sensitive_rule": false,
817
+ "mcp": true,
818
+ "anonymous": false,
819
+ "scope": "deck:write"
820
+ },
821
+ {
822
+ "command": "routines delete",
823
+ "tool": "delete_routine",
824
+ "operationId": "deleteRoutine",
825
+ "description": "Delete a routine",
826
+ "method": "DELETE",
827
+ "path": "/v2/routines/{routine_id}",
828
+ "path_params": [
829
+ {
830
+ "name": "routine_id",
831
+ "required": true,
832
+ "schema": {
833
+ "type": "string"
834
+ },
835
+ "id_prefix": "rtn_"
836
+ }
837
+ ],
838
+ "query_params": [],
839
+ "body_schema": null,
840
+ "unnamed_in_spec": false,
841
+ "destructive": true,
842
+ "core": false,
843
+ "sensitive_rule": false,
844
+ "mcp": true,
845
+ "anonymous": false,
846
+ "scope": "deck:write"
847
+ },
848
+ {
849
+ "command": "sources delete",
850
+ "tool": "delete_source",
851
+ "operationId": "deleteSource",
852
+ "description": "Delete a source",
853
+ "method": "DELETE",
854
+ "path": "/v2/sources/{source_id}",
855
+ "path_params": [
856
+ {
857
+ "name": "source_id",
858
+ "required": true,
859
+ "schema": {
860
+ "type": "string"
861
+ },
862
+ "id_prefix": "src_"
863
+ }
864
+ ],
865
+ "query_params": [],
866
+ "body_schema": null,
867
+ "unnamed_in_spec": false,
868
+ "destructive": true,
869
+ "core": false,
870
+ "sensitive_rule": false,
871
+ "mcp": true,
872
+ "anonymous": false,
873
+ "scope": "deck:write"
874
+ },
875
+ {
876
+ "command": "storage delete",
877
+ "tool": "delete_storage_item",
878
+ "operationId": "deleteStorageItem",
879
+ "description": "Delete a storage item",
880
+ "method": "DELETE",
881
+ "path": "/v2/storage/{storage_id}",
882
+ "path_params": [
883
+ {
884
+ "name": "storage_id",
885
+ "required": true,
886
+ "schema": {
887
+ "type": "string"
888
+ },
889
+ "id_prefix": "stor_"
890
+ }
891
+ ],
892
+ "query_params": [],
893
+ "body_schema": null,
894
+ "unnamed_in_spec": false,
895
+ "destructive": true,
896
+ "core": false,
897
+ "sensitive_rule": false,
898
+ "mcp": true,
899
+ "anonymous": false,
900
+ "scope": "deck:write"
901
+ },
902
+ {
903
+ "command": "tasks delete",
904
+ "tool": "delete_task",
905
+ "operationId": "deleteTask",
906
+ "description": "Delete a task",
907
+ "method": "DELETE",
908
+ "path": "/v2/tasks/{task_id}",
909
+ "path_params": [
910
+ {
911
+ "name": "task_id",
912
+ "required": true,
913
+ "schema": {
914
+ "type": "string"
915
+ },
916
+ "id_prefix": "task_"
917
+ }
918
+ ],
919
+ "query_params": [],
920
+ "body_schema": null,
921
+ "unnamed_in_spec": false,
922
+ "destructive": true,
923
+ "core": false,
924
+ "sensitive_rule": false,
925
+ "mcp": true,
926
+ "anonymous": false,
927
+ "scope": "deck:write"
928
+ },
929
+ {
930
+ "command": "triggers delete",
931
+ "tool": "delete_trigger",
932
+ "operationId": "deleteTrigger",
933
+ "description": "Delete a trigger",
934
+ "method": "DELETE",
935
+ "path": "/v2/triggers/{trigger_id}",
936
+ "path_params": [
937
+ {
938
+ "name": "trigger_id",
939
+ "required": true,
940
+ "schema": {
941
+ "type": "string"
942
+ },
943
+ "id_prefix": "trg_"
944
+ }
945
+ ],
946
+ "query_params": [],
947
+ "body_schema": null,
948
+ "unnamed_in_spec": false,
949
+ "destructive": true,
950
+ "core": false,
951
+ "sensitive_rule": false,
952
+ "mcp": true,
953
+ "anonymous": false,
954
+ "scope": "deck:write"
955
+ },
956
+ {
957
+ "command": "workflows delete",
958
+ "tool": "delete_workflow",
959
+ "operationId": "deleteWorkflow",
960
+ "description": "Delete a workflow",
961
+ "method": "DELETE",
962
+ "path": "/v2/workflows/{workflow_id}",
963
+ "path_params": [
964
+ {
965
+ "name": "workflow_id",
966
+ "required": true,
967
+ "schema": {
968
+ "type": "string"
969
+ },
970
+ "id_prefix": "wflo_"
971
+ }
972
+ ],
973
+ "query_params": [],
974
+ "body_schema": null,
975
+ "unnamed_in_spec": false,
976
+ "destructive": true,
977
+ "core": false,
978
+ "sensitive_rule": false,
979
+ "mcp": true,
980
+ "anonymous": false,
981
+ "scope": "deck:write"
982
+ },
983
+ {
984
+ "command": "sessions end",
985
+ "tool": "end_session",
986
+ "operationId": "endSession",
987
+ "description": "End a session",
988
+ "method": "POST",
989
+ "path": "/v2/sessions/{session_id}/end",
990
+ "path_params": [
991
+ {
992
+ "name": "session_id",
993
+ "required": true,
994
+ "schema": {
995
+ "type": "string"
996
+ },
997
+ "id_prefix": "sess_"
998
+ }
999
+ ],
1000
+ "query_params": [],
1001
+ "body_schema": null,
1002
+ "unnamed_in_spec": false,
1003
+ "destructive": false,
1004
+ "core": false,
1005
+ "sensitive_rule": false,
1006
+ "mcp": true,
1007
+ "anonymous": false,
1008
+ "scope": "deck:write"
1009
+ },
1010
+ {
1011
+ "command": "agents retrieve",
1012
+ "tool": "get_agent",
1013
+ "operationId": "getAgent",
1014
+ "description": "Retrieve an agent",
1015
+ "method": "GET",
1016
+ "path": "/v2/agents/{agent_id}",
1017
+ "path_params": [
1018
+ {
1019
+ "name": "agent_id",
1020
+ "required": true,
1021
+ "schema": {
1022
+ "type": "string"
1023
+ },
1024
+ "id_prefix": "agt_"
1025
+ }
1026
+ ],
1027
+ "query_params": [],
1028
+ "body_schema": null,
1029
+ "unnamed_in_spec": false,
1030
+ "destructive": false,
1031
+ "core": false,
1032
+ "sensitive_rule": false,
1033
+ "mcp": true,
1034
+ "anonymous": false,
1035
+ "scope": "deck:read"
1036
+ },
1037
+ {
1038
+ "command": "credentials retrieve",
1039
+ "tool": "get_credential",
1040
+ "operationId": "getCredential",
1041
+ "description": "Retrieve a credential",
1042
+ "method": "GET",
1043
+ "path": "/v2/credentials/{credential_id}",
1044
+ "path_params": [
1045
+ {
1046
+ "name": "credential_id",
1047
+ "required": true,
1048
+ "schema": {
1049
+ "type": "string"
1050
+ },
1051
+ "id_prefix": "cred_"
1052
+ }
1053
+ ],
1054
+ "query_params": [],
1055
+ "body_schema": null,
1056
+ "unnamed_in_spec": false,
1057
+ "destructive": false,
1058
+ "core": false,
1059
+ "sensitive_rule": false,
1060
+ "mcp": true,
1061
+ "anonymous": false,
1062
+ "scope": "deck:read"
1063
+ },
1064
+ {
1065
+ "command": "metrics credentials",
1066
+ "tool": "get_credentials_metrics",
1067
+ "operationId": "getCredentialsMetrics",
1068
+ "description": "Get credentials-created detail with breakdowns by source, status, and agent",
1069
+ "method": "GET",
1070
+ "path": "/v2/metrics/credentials",
1071
+ "path_params": [],
1072
+ "query_params": [
1073
+ {
1074
+ "name": "range",
1075
+ "required": false,
1076
+ "schema": {
1077
+ "type": "string"
1078
+ }
1079
+ },
1080
+ {
1081
+ "name": "agent_id",
1082
+ "required": false,
1083
+ "schema": {
1084
+ "type": "string"
1085
+ }
1086
+ }
1087
+ ],
1088
+ "body_schema": null,
1089
+ "unnamed_in_spec": false,
1090
+ "destructive": false,
1091
+ "core": false,
1092
+ "sensitive_rule": false,
1093
+ "mcp": true,
1094
+ "anonymous": false,
1095
+ "scope": "deck:read"
1096
+ },
1097
+ {
1098
+ "command": "metrics errors",
1099
+ "tool": "get_errors_metrics",
1100
+ "operationId": "getErrorsMetrics",
1101
+ "description": "Get errors detail with breakdowns by type, source, and agent",
1102
+ "method": "GET",
1103
+ "path": "/v2/metrics/errors",
1104
+ "path_params": [],
1105
+ "query_params": [
1106
+ {
1107
+ "name": "range",
1108
+ "required": false,
1109
+ "schema": {
1110
+ "type": "string"
1111
+ }
1112
+ },
1113
+ {
1114
+ "name": "agent_id",
1115
+ "required": false,
1116
+ "schema": {
1117
+ "type": "string"
1118
+ }
1119
+ }
1120
+ ],
1121
+ "body_schema": null,
1122
+ "unnamed_in_spec": false,
1123
+ "destructive": false,
1124
+ "core": false,
1125
+ "sensitive_rule": false,
1126
+ "mcp": true,
1127
+ "anonymous": false,
1128
+ "scope": "deck:read"
1129
+ },
1130
+ {
1131
+ "command": "events retrieve",
1132
+ "tool": "get_event",
1133
+ "operationId": "getEvent",
1134
+ "description": "Retrieve an event",
1135
+ "method": "GET",
1136
+ "path": "/v2/events/{event_id}",
1137
+ "path_params": [
1138
+ {
1139
+ "name": "event_id",
1140
+ "required": true,
1141
+ "schema": {
1142
+ "type": "string"
1143
+ },
1144
+ "id_prefix": "evt_"
1145
+ }
1146
+ ],
1147
+ "query_params": [],
1148
+ "body_schema": null,
1149
+ "unnamed_in_spec": false,
1150
+ "destructive": false,
1151
+ "core": false,
1152
+ "sensitive_rule": false,
1153
+ "mcp": true,
1154
+ "anonymous": false,
1155
+ "scope": "deck:read"
1156
+ },
1157
+ {
1158
+ "command": "event-destinations retrieve",
1159
+ "tool": "get_event_destination",
1160
+ "operationId": "getEventDestination",
1161
+ "description": "Retrieve an event destination",
1162
+ "method": "GET",
1163
+ "path": "/v2/event-destinations/{destination_id}",
1164
+ "path_params": [
1165
+ {
1166
+ "name": "destination_id",
1167
+ "required": true,
1168
+ "schema": {
1169
+ "type": "string"
1170
+ },
1171
+ "id_prefix": "evtd_"
1172
+ }
1173
+ ],
1174
+ "query_params": [],
1175
+ "body_schema": null,
1176
+ "unnamed_in_spec": false,
1177
+ "destructive": false,
1178
+ "core": false,
1179
+ "sensitive_rule": false,
1180
+ "mcp": true,
1181
+ "anonymous": false,
1182
+ "scope": "deck:read"
1183
+ },
1184
+ {
1185
+ "command": "metrics overview",
1186
+ "tool": "get_metrics_overview",
1187
+ "operationId": "getMetricsOverview",
1188
+ "description": "Get the metrics overview (task volume, credentials created, success rate, total errors)",
1189
+ "method": "GET",
1190
+ "path": "/v2/metrics/overview",
1191
+ "path_params": [],
1192
+ "query_params": [
1193
+ {
1194
+ "name": "range",
1195
+ "required": false,
1196
+ "schema": {
1197
+ "type": "string"
1198
+ }
1199
+ },
1200
+ {
1201
+ "name": "agent_id",
1202
+ "required": false,
1203
+ "schema": {
1204
+ "type": "string"
1205
+ }
1206
+ }
1207
+ ],
1208
+ "body_schema": null,
1209
+ "unnamed_in_spec": false,
1210
+ "destructive": false,
1211
+ "core": false,
1212
+ "sensitive_rule": false,
1213
+ "mcp": true,
1214
+ "anonymous": false,
1215
+ "scope": "deck:read"
1216
+ },
1217
+ {
1218
+ "command": "routines retrieve",
1219
+ "tool": "get_routine",
1220
+ "operationId": "getRoutine",
1221
+ "description": "Retrieve a routine",
1222
+ "method": "GET",
1223
+ "path": "/v2/routines/{routine_id}",
1224
+ "path_params": [
1225
+ {
1226
+ "name": "routine_id",
1227
+ "required": true,
1228
+ "schema": {
1229
+ "type": "string"
1230
+ },
1231
+ "id_prefix": "rtn_"
1232
+ }
1233
+ ],
1234
+ "query_params": [],
1235
+ "body_schema": null,
1236
+ "unnamed_in_spec": false,
1237
+ "destructive": false,
1238
+ "core": false,
1239
+ "sensitive_rule": false,
1240
+ "mcp": true,
1241
+ "anonymous": false,
1242
+ "scope": "deck:read"
1243
+ },
1244
+ {
1245
+ "command": "routines version",
1246
+ "tool": "get_routine_version",
1247
+ "operationId": "getRoutineVersion",
1248
+ "description": "Retrieve a routine version",
1249
+ "method": "GET",
1250
+ "path": "/v2/routines/{routine_id}/versions/{version}",
1251
+ "path_params": [
1252
+ {
1253
+ "name": "routine_id",
1254
+ "required": true,
1255
+ "schema": {
1256
+ "type": "string"
1257
+ },
1258
+ "id_prefix": "rtn_"
1259
+ },
1260
+ {
1261
+ "name": "version",
1262
+ "required": true,
1263
+ "schema": {
1264
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
1265
+ "type": "integer",
1266
+ "format": "int32"
1267
+ }
1268
+ }
1269
+ ],
1270
+ "query_params": [],
1271
+ "body_schema": null,
1272
+ "unnamed_in_spec": false,
1273
+ "destructive": false,
1274
+ "core": false,
1275
+ "sensitive_rule": false,
1276
+ "mcp": true,
1277
+ "anonymous": false,
1278
+ "scope": "deck:read"
1279
+ },
1280
+ {
1281
+ "command": "sessions retrieve",
1282
+ "tool": "get_session",
1283
+ "operationId": "getSession",
1284
+ "description": "Retrieve a session",
1285
+ "method": "GET",
1286
+ "path": "/v2/sessions/{session_id}",
1287
+ "path_params": [
1288
+ {
1289
+ "name": "session_id",
1290
+ "required": true,
1291
+ "schema": {
1292
+ "type": "string"
1293
+ },
1294
+ "id_prefix": "sess_"
1295
+ }
1296
+ ],
1297
+ "query_params": [],
1298
+ "body_schema": null,
1299
+ "unnamed_in_spec": false,
1300
+ "destructive": false,
1301
+ "core": false,
1302
+ "sensitive_rule": false,
1303
+ "mcp": true,
1304
+ "anonymous": false,
1305
+ "scope": "deck:read"
1306
+ },
1307
+ {
1308
+ "command": "sources retrieve",
1309
+ "tool": "get_source",
1310
+ "operationId": "getSource",
1311
+ "description": "Retrieve a source",
1312
+ "method": "GET",
1313
+ "path": "/v2/sources/{source_id}",
1314
+ "path_params": [
1315
+ {
1316
+ "name": "source_id",
1317
+ "required": true,
1318
+ "schema": {
1319
+ "type": "string"
1320
+ },
1321
+ "id_prefix": "src_"
1322
+ }
1323
+ ],
1324
+ "query_params": [],
1325
+ "body_schema": null,
1326
+ "unnamed_in_spec": false,
1327
+ "destructive": false,
1328
+ "core": false,
1329
+ "sensitive_rule": false,
1330
+ "mcp": true,
1331
+ "anonymous": false,
1332
+ "scope": "deck:read"
1333
+ },
1334
+ {
1335
+ "command": "static-ips",
1336
+ "tool": "get_static_ips",
1337
+ "operationId": "getStaticIps",
1338
+ "description": "Get the static-IP catalog",
1339
+ "method": "GET",
1340
+ "path": "/v2/static-ips",
1341
+ "path_params": [],
1342
+ "query_params": [],
1343
+ "body_schema": null,
1344
+ "unnamed_in_spec": false,
1345
+ "destructive": false,
1346
+ "core": false,
1347
+ "sensitive_rule": false,
1348
+ "mcp": true,
1349
+ "anonymous": false,
1350
+ "scope": "deck:read"
1351
+ },
1352
+ {
1353
+ "command": "storage retrieve",
1354
+ "tool": "get_storage_item",
1355
+ "operationId": "getStorageItem",
1356
+ "description": "Retrieve a storage item",
1357
+ "method": "GET",
1358
+ "path": "/v2/storage/{storage_id}",
1359
+ "path_params": [
1360
+ {
1361
+ "name": "storage_id",
1362
+ "required": true,
1363
+ "schema": {
1364
+ "type": "string"
1365
+ },
1366
+ "id_prefix": "stor_"
1367
+ }
1368
+ ],
1369
+ "query_params": [],
1370
+ "body_schema": null,
1371
+ "unnamed_in_spec": false,
1372
+ "destructive": false,
1373
+ "core": false,
1374
+ "sensitive_rule": false,
1375
+ "mcp": true,
1376
+ "anonymous": false,
1377
+ "scope": "deck:read",
1378
+ "artifacts": {
1379
+ "items_at": "",
1380
+ "url_at": "url",
1381
+ "name_at": "file_name",
1382
+ "run_id_at": "task_run_id"
1383
+ }
1384
+ },
1385
+ {
1386
+ "command": "metrics success-rate",
1387
+ "tool": "get_success_rate_metrics",
1388
+ "operationId": "getSuccessRateMetrics",
1389
+ "description": "Get success-rate detail with breakdowns by task, source, and agent",
1390
+ "method": "GET",
1391
+ "path": "/v2/metrics/success-rate",
1392
+ "path_params": [],
1393
+ "query_params": [
1394
+ {
1395
+ "name": "range",
1396
+ "required": false,
1397
+ "schema": {
1398
+ "type": "string"
1399
+ }
1400
+ },
1401
+ {
1402
+ "name": "agent_id",
1403
+ "required": false,
1404
+ "schema": {
1405
+ "type": "string"
1406
+ }
1407
+ }
1408
+ ],
1409
+ "body_schema": null,
1410
+ "unnamed_in_spec": false,
1411
+ "destructive": false,
1412
+ "core": false,
1413
+ "sensitive_rule": false,
1414
+ "mcp": true,
1415
+ "anonymous": false,
1416
+ "scope": "deck:read"
1417
+ },
1418
+ {
1419
+ "command": "tasks retrieve",
1420
+ "tool": "get_task",
1421
+ "operationId": "getTask",
1422
+ "description": "Retrieve a task",
1423
+ "method": "GET",
1424
+ "path": "/v2/tasks/{task_id}",
1425
+ "path_params": [
1426
+ {
1427
+ "name": "task_id",
1428
+ "required": true,
1429
+ "schema": {
1430
+ "type": "string"
1431
+ },
1432
+ "id_prefix": "task_"
1433
+ }
1434
+ ],
1435
+ "query_params": [
1436
+ {
1437
+ "name": "include",
1438
+ "required": false,
1439
+ "schema": {
1440
+ "type": "array",
1441
+ "items": {
1442
+ "type": "string"
1443
+ }
1444
+ }
1445
+ },
1446
+ {
1447
+ "name": "HasTools",
1448
+ "required": false,
1449
+ "schema": {
1450
+ "type": "boolean"
1451
+ }
1452
+ }
1453
+ ],
1454
+ "body_schema": null,
1455
+ "unnamed_in_spec": false,
1456
+ "destructive": false,
1457
+ "core": true,
1458
+ "sensitive_rule": false,
1459
+ "mcp": true,
1460
+ "anonymous": false,
1461
+ "scope": "deck:read"
1462
+ },
1463
+ {
1464
+ "command": "metrics tasks",
1465
+ "tool": "get_task_metrics",
1466
+ "operationId": "getTaskMetrics",
1467
+ "description": "Get task-volume detail with breakdowns by task, source, and agent",
1468
+ "method": "GET",
1469
+ "path": "/v2/metrics/tasks",
1470
+ "path_params": [],
1471
+ "query_params": [
1472
+ {
1473
+ "name": "range",
1474
+ "required": false,
1475
+ "schema": {
1476
+ "type": "string"
1477
+ }
1478
+ },
1479
+ {
1480
+ "name": "agent_id",
1481
+ "required": false,
1482
+ "schema": {
1483
+ "type": "string"
1484
+ }
1485
+ }
1486
+ ],
1487
+ "body_schema": null,
1488
+ "unnamed_in_spec": false,
1489
+ "destructive": false,
1490
+ "core": false,
1491
+ "sensitive_rule": false,
1492
+ "mcp": true,
1493
+ "anonymous": false,
1494
+ "scope": "deck:read"
1495
+ },
1496
+ {
1497
+ "command": "task-runs retrieve",
1498
+ "tool": "get_task_run",
1499
+ "operationId": "getTaskRun",
1500
+ "description": "Retrieve a task run",
1501
+ "method": "GET",
1502
+ "path": "/v2/task-runs/{run_id}",
1503
+ "path_params": [
1504
+ {
1505
+ "name": "run_id",
1506
+ "required": true,
1507
+ "schema": {
1508
+ "type": "string"
1509
+ },
1510
+ "id_prefix": "trun_"
1511
+ }
1512
+ ],
1513
+ "query_params": [
1514
+ {
1515
+ "name": "include",
1516
+ "required": false,
1517
+ "schema": {
1518
+ "type": "array",
1519
+ "items": {
1520
+ "type": "string"
1521
+ }
1522
+ }
1523
+ },
1524
+ {
1525
+ "name": "HasInput",
1526
+ "required": false,
1527
+ "schema": {
1528
+ "type": "boolean"
1529
+ }
1530
+ },
1531
+ {
1532
+ "name": "HasStorage",
1533
+ "required": false,
1534
+ "schema": {
1535
+ "type": "boolean"
1536
+ }
1537
+ },
1538
+ {
1539
+ "name": "HasStorageDeduplicated",
1540
+ "required": false,
1541
+ "schema": {
1542
+ "type": "boolean"
1543
+ }
1544
+ },
1545
+ {
1546
+ "name": "HasArtifacts",
1547
+ "required": false,
1548
+ "schema": {
1549
+ "type": "boolean"
1550
+ }
1551
+ },
1552
+ {
1553
+ "name": "HasTools",
1554
+ "required": false,
1555
+ "schema": {
1556
+ "type": "boolean"
1557
+ }
1558
+ },
1559
+ {
1560
+ "name": "HasBrowser",
1561
+ "required": false,
1562
+ "schema": {
1563
+ "type": "boolean"
1564
+ }
1565
+ },
1566
+ {
1567
+ "name": "HasInteractions",
1568
+ "required": false,
1569
+ "schema": {
1570
+ "type": "boolean"
1571
+ }
1572
+ }
1573
+ ],
1574
+ "body_schema": null,
1575
+ "unnamed_in_spec": false,
1576
+ "destructive": false,
1577
+ "core": true,
1578
+ "sensitive_rule": false,
1579
+ "mcp": true,
1580
+ "anonymous": false,
1581
+ "scope": "deck:read"
1582
+ },
1583
+ {
1584
+ "command": "task-runs browser-logs dom",
1585
+ "tool": "get_task_run_browser_dom",
1586
+ "operationId": "getTaskRunBrowserDom",
1587
+ "description": "Download a task run's final-page DOM snapshot",
1588
+ "method": "GET",
1589
+ "path": "/v2/task-runs/{run_id}/browser-logs/dom",
1590
+ "path_params": [
1591
+ {
1592
+ "name": "run_id",
1593
+ "required": true,
1594
+ "schema": {
1595
+ "type": "string"
1596
+ },
1597
+ "id_prefix": "trun_"
1598
+ }
1599
+ ],
1600
+ "query_params": [],
1601
+ "body_schema": null,
1602
+ "unnamed_in_spec": false,
1603
+ "destructive": false,
1604
+ "core": false,
1605
+ "sensitive_rule": true,
1606
+ "mcp": true,
1607
+ "anonymous": false,
1608
+ "scope": "deck:read"
1609
+ },
1610
+ {
1611
+ "command": "task-runs browser-logs har",
1612
+ "tool": "get_task_run_browser_har",
1613
+ "operationId": "getTaskRunBrowserHar",
1614
+ "description": "Download a task run's HAR export",
1615
+ "method": "GET",
1616
+ "path": "/v2/task-runs/{run_id}/browser-logs/har",
1617
+ "path_params": [
1618
+ {
1619
+ "name": "run_id",
1620
+ "required": true,
1621
+ "schema": {
1622
+ "type": "string"
1623
+ },
1624
+ "id_prefix": "trun_"
1625
+ }
1626
+ ],
1627
+ "query_params": [],
1628
+ "body_schema": null,
1629
+ "unnamed_in_spec": false,
1630
+ "destructive": false,
1631
+ "core": false,
1632
+ "sensitive_rule": true,
1633
+ "mcp": true,
1634
+ "anonymous": false,
1635
+ "scope": "deck:read"
1636
+ },
1637
+ {
1638
+ "command": "triggers retrieve",
1639
+ "tool": "get_trigger",
1640
+ "operationId": "getTrigger",
1641
+ "description": "Retrieve a trigger",
1642
+ "method": "GET",
1643
+ "path": "/v2/triggers/{trigger_id}",
1644
+ "path_params": [
1645
+ {
1646
+ "name": "trigger_id",
1647
+ "required": true,
1648
+ "schema": {
1649
+ "type": "string"
1650
+ },
1651
+ "id_prefix": "trg_"
1652
+ }
1653
+ ],
1654
+ "query_params": [],
1655
+ "body_schema": null,
1656
+ "unnamed_in_spec": false,
1657
+ "destructive": false,
1658
+ "core": false,
1659
+ "sensitive_rule": false,
1660
+ "mcp": true,
1661
+ "anonymous": false,
1662
+ "scope": "deck:read"
1663
+ },
1664
+ {
1665
+ "command": "workflows retrieve",
1666
+ "tool": "get_workflow",
1667
+ "operationId": "getWorkflow",
1668
+ "description": "Retrieve a workflow",
1669
+ "method": "GET",
1670
+ "path": "/v2/workflows/{workflow_id}",
1671
+ "path_params": [
1672
+ {
1673
+ "name": "workflow_id",
1674
+ "required": true,
1675
+ "schema": {
1676
+ "type": "string"
1677
+ },
1678
+ "id_prefix": "wflo_"
1679
+ }
1680
+ ],
1681
+ "query_params": [],
1682
+ "body_schema": null,
1683
+ "unnamed_in_spec": false,
1684
+ "destructive": false,
1685
+ "core": false,
1686
+ "sensitive_rule": false,
1687
+ "mcp": true,
1688
+ "anonymous": false,
1689
+ "scope": "deck:read"
1690
+ },
1691
+ {
1692
+ "command": "workflow-runs retrieve",
1693
+ "tool": "get_workflow_run",
1694
+ "operationId": "getWorkflowRun",
1695
+ "description": "Retrieve a workflow run",
1696
+ "method": "GET",
1697
+ "path": "/v2/workflow-runs/{workflow_run_id}",
1698
+ "path_params": [
1699
+ {
1700
+ "name": "workflow_run_id",
1701
+ "required": true,
1702
+ "schema": {
1703
+ "type": "string"
1704
+ },
1705
+ "id_prefix": "wrun_"
1706
+ }
1707
+ ],
1708
+ "query_params": [
1709
+ {
1710
+ "name": "include",
1711
+ "required": false,
1712
+ "schema": {
1713
+ "type": "array",
1714
+ "items": {
1715
+ "type": "string"
1716
+ }
1717
+ }
1718
+ },
1719
+ {
1720
+ "name": "HasInput",
1721
+ "required": false,
1722
+ "schema": {
1723
+ "type": "boolean"
1724
+ }
1725
+ },
1726
+ {
1727
+ "name": "HasStorage",
1728
+ "required": false,
1729
+ "schema": {
1730
+ "type": "boolean"
1731
+ }
1732
+ },
1733
+ {
1734
+ "name": "HasArtifacts",
1735
+ "required": false,
1736
+ "schema": {
1737
+ "type": "boolean"
1738
+ }
1739
+ },
1740
+ {
1741
+ "name": "HasAny",
1742
+ "required": false,
1743
+ "schema": {
1744
+ "type": "boolean"
1745
+ }
1746
+ }
1747
+ ],
1748
+ "body_schema": null,
1749
+ "unnamed_in_spec": false,
1750
+ "destructive": false,
1751
+ "core": false,
1752
+ "sensitive_rule": false,
1753
+ "mcp": true,
1754
+ "anonymous": false,
1755
+ "scope": "deck:read"
1756
+ },
1757
+ {
1758
+ "command": "agents list",
1759
+ "tool": "list_agents",
1760
+ "operationId": "listAgents",
1761
+ "description": "List agents",
1762
+ "method": "GET",
1763
+ "path": "/v2/agents",
1764
+ "path_params": [],
1765
+ "query_params": [
1766
+ {
1767
+ "name": "Limit",
1768
+ "required": false,
1769
+ "schema": {
1770
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
1771
+ "type": [
1772
+ "integer",
1773
+ "string"
1774
+ ],
1775
+ "format": "int32"
1776
+ }
1777
+ },
1778
+ {
1779
+ "name": "Cursor",
1780
+ "required": false,
1781
+ "schema": {
1782
+ "type": "string"
1783
+ }
1784
+ }
1785
+ ],
1786
+ "body_schema": null,
1787
+ "unnamed_in_spec": false,
1788
+ "destructive": false,
1789
+ "core": false,
1790
+ "sensitive_rule": false,
1791
+ "mcp": true,
1792
+ "anonymous": false,
1793
+ "scope": "deck:read"
1794
+ },
1795
+ {
1796
+ "command": "credentials list",
1797
+ "tool": "list_credentials",
1798
+ "operationId": "listCredentials",
1799
+ "description": "List credentials",
1800
+ "method": "GET",
1801
+ "path": "/v2/credentials",
1802
+ "path_params": [],
1803
+ "query_params": [
1804
+ {
1805
+ "name": "Limit",
1806
+ "required": false,
1807
+ "schema": {
1808
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
1809
+ "type": [
1810
+ "integer",
1811
+ "string"
1812
+ ],
1813
+ "format": "int32"
1814
+ }
1815
+ },
1816
+ {
1817
+ "name": "Cursor",
1818
+ "required": false,
1819
+ "schema": {
1820
+ "type": "string"
1821
+ }
1822
+ },
1823
+ {
1824
+ "name": "source_id",
1825
+ "required": false,
1826
+ "schema": {
1827
+ "type": "array",
1828
+ "items": {
1829
+ "type": "string"
1830
+ }
1831
+ }
1832
+ },
1833
+ {
1834
+ "name": "status",
1835
+ "required": false,
1836
+ "schema": {
1837
+ "type": "array",
1838
+ "items": {
1839
+ "type": "string"
1840
+ }
1841
+ }
1842
+ },
1843
+ {
1844
+ "name": "external_id",
1845
+ "required": false,
1846
+ "schema": {
1847
+ "type": "string"
1848
+ }
1849
+ },
1850
+ {
1851
+ "name": "search",
1852
+ "required": false,
1853
+ "schema": {
1854
+ "type": "string"
1855
+ }
1856
+ }
1857
+ ],
1858
+ "body_schema": null,
1859
+ "unnamed_in_spec": false,
1860
+ "destructive": false,
1861
+ "core": true,
1862
+ "sensitive_rule": false,
1863
+ "mcp": true,
1864
+ "anonymous": false,
1865
+ "scope": "deck:read"
1866
+ },
1867
+ {
1868
+ "command": "event-destinations deliveries",
1869
+ "tool": "list_event_deliveries",
1870
+ "operationId": "listEventDeliveries",
1871
+ "description": "List event deliveries",
1872
+ "method": "GET",
1873
+ "path": "/v2/event-destinations/{destination_id}/event-deliveries",
1874
+ "path_params": [
1875
+ {
1876
+ "name": "destination_id",
1877
+ "required": true,
1878
+ "schema": {
1879
+ "type": "string"
1880
+ },
1881
+ "id_prefix": "evtd_"
1882
+ }
1883
+ ],
1884
+ "query_params": [
1885
+ {
1886
+ "name": "limit",
1887
+ "required": false,
1888
+ "schema": {
1889
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
1890
+ "type": [
1891
+ "integer",
1892
+ "string"
1893
+ ],
1894
+ "format": "int32",
1895
+ "default": 20
1896
+ }
1897
+ },
1898
+ {
1899
+ "name": "cursor",
1900
+ "required": false,
1901
+ "schema": {
1902
+ "type": "string"
1903
+ }
1904
+ },
1905
+ {
1906
+ "name": "status",
1907
+ "required": false,
1908
+ "schema": {
1909
+ "type": "string"
1910
+ }
1911
+ },
1912
+ {
1913
+ "name": "type",
1914
+ "required": false,
1915
+ "schema": {
1916
+ "type": "string"
1917
+ }
1918
+ }
1919
+ ],
1920
+ "body_schema": null,
1921
+ "unnamed_in_spec": false,
1922
+ "destructive": false,
1923
+ "core": false,
1924
+ "sensitive_rule": false,
1925
+ "mcp": true,
1926
+ "anonymous": false,
1927
+ "scope": "deck:read"
1928
+ },
1929
+ {
1930
+ "command": "event-destinations list",
1931
+ "tool": "list_event_destinations",
1932
+ "operationId": "listEventDestinations",
1933
+ "description": "List event destinations",
1934
+ "method": "GET",
1935
+ "path": "/v2/event-destinations",
1936
+ "path_params": [],
1937
+ "query_params": [
1938
+ {
1939
+ "name": "Limit",
1940
+ "required": false,
1941
+ "schema": {
1942
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
1943
+ "type": [
1944
+ "integer",
1945
+ "string"
1946
+ ],
1947
+ "format": "int32"
1948
+ }
1949
+ },
1950
+ {
1951
+ "name": "Cursor",
1952
+ "required": false,
1953
+ "schema": {
1954
+ "type": "string"
1955
+ }
1956
+ }
1957
+ ],
1958
+ "body_schema": null,
1959
+ "unnamed_in_spec": false,
1960
+ "destructive": false,
1961
+ "core": false,
1962
+ "sensitive_rule": false,
1963
+ "mcp": true,
1964
+ "anonymous": false,
1965
+ "scope": "deck:read"
1966
+ },
1967
+ {
1968
+ "command": "events tail",
1969
+ "tool": "list_events",
1970
+ "operationId": "listEvents",
1971
+ "description": "List events",
1972
+ "method": "GET",
1973
+ "path": "/v2/events",
1974
+ "path_params": [],
1975
+ "query_params": [
1976
+ {
1977
+ "name": "Limit",
1978
+ "required": false,
1979
+ "schema": {
1980
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
1981
+ "type": [
1982
+ "integer",
1983
+ "string"
1984
+ ],
1985
+ "format": "int32"
1986
+ }
1987
+ },
1988
+ {
1989
+ "name": "Cursor",
1990
+ "required": false,
1991
+ "schema": {
1992
+ "type": "string"
1993
+ }
1994
+ },
1995
+ {
1996
+ "name": "type",
1997
+ "required": false,
1998
+ "schema": {
1999
+ "type": "array",
2000
+ "items": {
2001
+ "type": "string"
2002
+ }
2003
+ }
2004
+ },
2005
+ {
2006
+ "name": "created_after",
2007
+ "required": false,
2008
+ "schema": {
2009
+ "type": "string",
2010
+ "format": "date-time"
2011
+ }
2012
+ },
2013
+ {
2014
+ "name": "created_before",
2015
+ "required": false,
2016
+ "schema": {
2017
+ "type": "string",
2018
+ "format": "date-time"
2019
+ }
2020
+ }
2021
+ ],
2022
+ "body_schema": null,
2023
+ "unnamed_in_spec": false,
2024
+ "destructive": false,
2025
+ "core": false,
2026
+ "sensitive_rule": false,
2027
+ "mcp": true,
2028
+ "anonymous": false,
2029
+ "scope": "deck:read"
2030
+ },
2031
+ {
2032
+ "command": "events types",
2033
+ "tool": "list_event_types",
2034
+ "operationId": "listEventTypes",
2035
+ "description": "List event types",
2036
+ "method": "GET",
2037
+ "path": "/v2/event-types",
2038
+ "path_params": [],
2039
+ "query_params": [],
2040
+ "body_schema": null,
2041
+ "unnamed_in_spec": false,
2042
+ "destructive": false,
2043
+ "core": false,
2044
+ "sensitive_rule": false,
2045
+ "mcp": true,
2046
+ "anonymous": false,
2047
+ "scope": "deck:read"
2048
+ },
2049
+ {
2050
+ "command": "routines list",
2051
+ "tool": "list_routines",
2052
+ "operationId": "listRoutines",
2053
+ "description": "List routines",
2054
+ "method": "GET",
2055
+ "path": "/v2/routines",
2056
+ "path_params": [],
2057
+ "query_params": [
2058
+ {
2059
+ "name": "task_id",
2060
+ "required": false,
2061
+ "schema": {
2062
+ "type": "string"
2063
+ },
2064
+ "id_prefix": "task_"
2065
+ },
2066
+ {
2067
+ "name": "source_id",
2068
+ "required": false,
2069
+ "schema": {
2070
+ "type": "string"
2071
+ },
2072
+ "id_prefix": "src_"
2073
+ },
2074
+ {
2075
+ "name": "Limit",
2076
+ "required": false,
2077
+ "schema": {
2078
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
2079
+ "type": [
2080
+ "integer",
2081
+ "string"
2082
+ ],
2083
+ "format": "int32"
2084
+ }
2085
+ },
2086
+ {
2087
+ "name": "Cursor",
2088
+ "required": false,
2089
+ "schema": {
2090
+ "type": "string"
2091
+ }
2092
+ }
2093
+ ],
2094
+ "body_schema": null,
2095
+ "unnamed_in_spec": false,
2096
+ "destructive": false,
2097
+ "core": true,
2098
+ "sensitive_rule": false,
2099
+ "mcp": true,
2100
+ "anonymous": false,
2101
+ "scope": "deck:read"
2102
+ },
2103
+ {
2104
+ "command": "routines versions",
2105
+ "tool": "list_routine_versions",
2106
+ "operationId": "listRoutineVersions",
2107
+ "description": "List a routine's versions",
2108
+ "method": "GET",
2109
+ "path": "/v2/routines/{routine_id}/versions",
2110
+ "path_params": [
2111
+ {
2112
+ "name": "routine_id",
2113
+ "required": true,
2114
+ "schema": {
2115
+ "type": "string"
2116
+ },
2117
+ "id_prefix": "rtn_"
2118
+ }
2119
+ ],
2120
+ "query_params": [
2121
+ {
2122
+ "name": "Limit",
2123
+ "required": false,
2124
+ "schema": {
2125
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
2126
+ "type": [
2127
+ "integer",
2128
+ "string"
2129
+ ],
2130
+ "format": "int32"
2131
+ }
2132
+ },
2133
+ {
2134
+ "name": "Cursor",
2135
+ "required": false,
2136
+ "schema": {
2137
+ "type": "string"
2138
+ }
2139
+ }
2140
+ ],
2141
+ "body_schema": null,
2142
+ "unnamed_in_spec": false,
2143
+ "destructive": false,
2144
+ "core": false,
2145
+ "sensitive_rule": false,
2146
+ "mcp": true,
2147
+ "anonymous": false,
2148
+ "scope": "deck:read"
2149
+ },
2150
+ {
2151
+ "command": "sessions list",
2152
+ "tool": "list_sessions",
2153
+ "operationId": "listSessions",
2154
+ "description": "List sessions",
2155
+ "method": "GET",
2156
+ "path": "/v2/sessions",
2157
+ "path_params": [],
2158
+ "query_params": [
2159
+ {
2160
+ "name": "Limit",
2161
+ "required": false,
2162
+ "schema": {
2163
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
2164
+ "type": [
2165
+ "integer",
2166
+ "string"
2167
+ ],
2168
+ "format": "int32"
2169
+ }
2170
+ },
2171
+ {
2172
+ "name": "Cursor",
2173
+ "required": false,
2174
+ "schema": {
2175
+ "type": "string"
2176
+ }
2177
+ }
2178
+ ],
2179
+ "body_schema": null,
2180
+ "unnamed_in_spec": false,
2181
+ "destructive": false,
2182
+ "core": false,
2183
+ "sensitive_rule": false,
2184
+ "mcp": true,
2185
+ "anonymous": false,
2186
+ "scope": "deck:read"
2187
+ },
2188
+ {
2189
+ "command": "sources list",
2190
+ "tool": "list_sources",
2191
+ "operationId": "listSources",
2192
+ "description": "List sources",
2193
+ "method": "GET",
2194
+ "path": "/v2/sources",
2195
+ "path_params": [],
2196
+ "query_params": [
2197
+ {
2198
+ "name": "search",
2199
+ "required": false,
2200
+ "schema": {
2201
+ "type": "string"
2202
+ }
2203
+ },
2204
+ {
2205
+ "name": "Limit",
2206
+ "required": false,
2207
+ "schema": {
2208
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
2209
+ "type": [
2210
+ "integer",
2211
+ "string"
2212
+ ],
2213
+ "format": "int32"
2214
+ }
2215
+ },
2216
+ {
2217
+ "name": "Cursor",
2218
+ "required": false,
2219
+ "schema": {
2220
+ "type": "string"
2221
+ }
2222
+ }
2223
+ ],
2224
+ "body_schema": null,
2225
+ "unnamed_in_spec": false,
2226
+ "destructive": false,
2227
+ "core": true,
2228
+ "sensitive_rule": false,
2229
+ "mcp": true,
2230
+ "anonymous": false,
2231
+ "scope": "deck:read"
2232
+ },
2233
+ {
2234
+ "command": "task-runs browser-logs",
2235
+ "tool": "get_task_run_browser_logs",
2236
+ "operationId": "listTaskRunBrowserLogs",
2237
+ "description": "List task run browser logs",
2238
+ "method": "GET",
2239
+ "path": "/v2/task-runs/{run_id}/browser-logs",
2240
+ "path_params": [
2241
+ {
2242
+ "name": "run_id",
2243
+ "required": true,
2244
+ "schema": {
2245
+ "type": "string"
2246
+ },
2247
+ "id_prefix": "trun_"
2248
+ }
2249
+ ],
2250
+ "query_params": [
2251
+ {
2252
+ "name": "type",
2253
+ "required": false,
2254
+ "schema": {
2255
+ "type": "array",
2256
+ "items": {
2257
+ "type": "string"
2258
+ }
2259
+ }
2260
+ },
2261
+ {
2262
+ "name": "Limit",
2263
+ "required": false,
2264
+ "schema": {
2265
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
2266
+ "type": [
2267
+ "integer",
2268
+ "string"
2269
+ ],
2270
+ "format": "int32"
2271
+ }
2272
+ },
2273
+ {
2274
+ "name": "Cursor",
2275
+ "required": false,
2276
+ "schema": {
2277
+ "type": "string"
2278
+ }
2279
+ }
2280
+ ],
2281
+ "body_schema": null,
2282
+ "unnamed_in_spec": false,
2283
+ "destructive": false,
2284
+ "core": true,
2285
+ "sensitive_rule": true,
2286
+ "mcp": true,
2287
+ "anonymous": false,
2288
+ "scope": "deck:read"
2289
+ },
2290
+ {
2291
+ "command": "task-runs list",
2292
+ "tool": "list_task_runs",
2293
+ "operationId": "listTaskRuns",
2294
+ "description": "List task runs",
2295
+ "method": "GET",
2296
+ "path": "/v2/task-runs",
2297
+ "path_params": [],
2298
+ "query_params": [
2299
+ {
2300
+ "name": "Limit",
2301
+ "required": false,
2302
+ "schema": {
2303
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
2304
+ "type": [
2305
+ "integer",
2306
+ "string"
2307
+ ],
2308
+ "format": "int32"
2309
+ }
2310
+ },
2311
+ {
2312
+ "name": "Cursor",
2313
+ "required": false,
2314
+ "schema": {
2315
+ "type": "string"
2316
+ }
2317
+ },
2318
+ {
2319
+ "name": "status",
2320
+ "required": false,
2321
+ "schema": {
2322
+ "type": "array",
2323
+ "items": {
2324
+ "type": "string"
2325
+ }
2326
+ }
2327
+ },
2328
+ {
2329
+ "name": "source_id",
2330
+ "required": false,
2331
+ "schema": {
2332
+ "type": "array",
2333
+ "items": {
2334
+ "type": "string"
2335
+ }
2336
+ }
2337
+ },
2338
+ {
2339
+ "name": "outcome",
2340
+ "required": false,
2341
+ "schema": {
2342
+ "type": "array",
2343
+ "items": {
2344
+ "type": "string"
2345
+ }
2346
+ }
2347
+ },
2348
+ {
2349
+ "name": "errors",
2350
+ "required": false,
2351
+ "schema": {
2352
+ "type": "array",
2353
+ "items": {
2354
+ "type": "string"
2355
+ }
2356
+ }
2357
+ },
2358
+ {
2359
+ "name": "agent_id",
2360
+ "required": false,
2361
+ "schema": {
2362
+ "type": "string"
2363
+ }
2364
+ },
2365
+ {
2366
+ "name": "credential_id",
2367
+ "required": false,
2368
+ "schema": {
2369
+ "type": "string"
2370
+ }
2371
+ },
2372
+ {
2373
+ "name": "task_id",
2374
+ "required": false,
2375
+ "schema": {
2376
+ "type": "string"
2377
+ }
2378
+ },
2379
+ {
2380
+ "name": "workflow_id",
2381
+ "required": false,
2382
+ "schema": {
2383
+ "type": "string"
2384
+ },
2385
+ "id_prefix": "wflo_"
2386
+ },
2387
+ {
2388
+ "name": "workflow_run_id",
2389
+ "required": false,
2390
+ "schema": {
2391
+ "type": "string"
2392
+ },
2393
+ "id_prefix": "wrun_"
2394
+ },
2395
+ {
2396
+ "name": "step",
2397
+ "required": false,
2398
+ "schema": {
2399
+ "type": "string"
2400
+ }
2401
+ },
2402
+ {
2403
+ "name": "trigger_id",
2404
+ "required": false,
2405
+ "schema": {
2406
+ "type": "string"
2407
+ },
2408
+ "id_prefix": "trg_"
2409
+ },
2410
+ {
2411
+ "name": "created_after",
2412
+ "required": false,
2413
+ "schema": {
2414
+ "type": "string",
2415
+ "format": "date-time"
2416
+ }
2417
+ },
2418
+ {
2419
+ "name": "created_before",
2420
+ "required": false,
2421
+ "schema": {
2422
+ "type": "string",
2423
+ "format": "date-time"
2424
+ }
2425
+ },
2426
+ {
2427
+ "name": "search",
2428
+ "required": false,
2429
+ "schema": {
2430
+ "type": "string"
2431
+ }
2432
+ }
2433
+ ],
2434
+ "body_schema": null,
2435
+ "unnamed_in_spec": false,
2436
+ "destructive": false,
2437
+ "core": true,
2438
+ "sensitive_rule": false,
2439
+ "mcp": true,
2440
+ "anonymous": false,
2441
+ "scope": "deck:read"
2442
+ },
2443
+ {
2444
+ "command": "task-runs screenshots",
2445
+ "tool": "get_task_run_screenshots",
2446
+ "operationId": "listTaskRunScreenshots",
2447
+ "description": "List task run screenshots",
2448
+ "method": "GET",
2449
+ "path": "/v2/task-runs/{run_id}/screenshots",
2450
+ "path_params": [
2451
+ {
2452
+ "name": "run_id",
2453
+ "required": true,
2454
+ "schema": {
2455
+ "type": "string"
2456
+ },
2457
+ "id_prefix": "trun_"
2458
+ }
2459
+ ],
2460
+ "query_params": [
2461
+ {
2462
+ "name": "Limit",
2463
+ "required": false,
2464
+ "schema": {
2465
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
2466
+ "type": [
2467
+ "integer",
2468
+ "string"
2469
+ ],
2470
+ "format": "int32"
2471
+ }
2472
+ },
2473
+ {
2474
+ "name": "Cursor",
2475
+ "required": false,
2476
+ "schema": {
2477
+ "type": "string"
2478
+ }
2479
+ }
2480
+ ],
2481
+ "body_schema": null,
2482
+ "unnamed_in_spec": false,
2483
+ "destructive": false,
2484
+ "core": true,
2485
+ "sensitive_rule": true,
2486
+ "mcp": true,
2487
+ "anonymous": false,
2488
+ "scope": "deck:read",
2489
+ "artifacts": {
2490
+ "items_at": "data",
2491
+ "url_at": "url",
2492
+ "name_at": "file_name"
2493
+ }
2494
+ },
2495
+ {
2496
+ "command": "task-runs storage",
2497
+ "tool": "list_task_run_storage",
2498
+ "operationId": "listTaskRunStorage",
2499
+ "description": "List task run storage items",
2500
+ "method": "GET",
2501
+ "path": "/v2/task-runs/{run_id}/storage",
2502
+ "path_params": [
2503
+ {
2504
+ "name": "run_id",
2505
+ "required": true,
2506
+ "schema": {
2507
+ "type": "string"
2508
+ },
2509
+ "id_prefix": "trun_"
2510
+ }
2511
+ ],
2512
+ "query_params": [],
2513
+ "body_schema": null,
2514
+ "unnamed_in_spec": false,
2515
+ "destructive": false,
2516
+ "core": false,
2517
+ "sensitive_rule": false,
2518
+ "mcp": true,
2519
+ "anonymous": false,
2520
+ "scope": "deck:read"
2521
+ },
2522
+ {
2523
+ "command": "tasks list",
2524
+ "tool": "list_tasks",
2525
+ "operationId": "listTasks",
2526
+ "description": "List tasks",
2527
+ "method": "GET",
2528
+ "path": "/v2/tasks",
2529
+ "path_params": [],
2530
+ "query_params": [
2531
+ {
2532
+ "name": "Limit",
2533
+ "required": false,
2534
+ "schema": {
2535
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
2536
+ "type": [
2537
+ "integer",
2538
+ "string"
2539
+ ],
2540
+ "format": "int32"
2541
+ }
2542
+ },
2543
+ {
2544
+ "name": "Cursor",
2545
+ "required": false,
2546
+ "schema": {
2547
+ "type": "string"
2548
+ }
2549
+ },
2550
+ {
2551
+ "name": "agent_id",
2552
+ "required": false,
2553
+ "schema": {
2554
+ "type": "string"
2555
+ },
2556
+ "id_prefix": "agt_"
2557
+ },
2558
+ {
2559
+ "name": "status",
2560
+ "required": false,
2561
+ "schema": {
2562
+ "type": "array",
2563
+ "items": {
2564
+ "type": "string"
2565
+ }
2566
+ }
2567
+ }
2568
+ ],
2569
+ "body_schema": null,
2570
+ "unnamed_in_spec": false,
2571
+ "destructive": false,
2572
+ "core": true,
2573
+ "sensitive_rule": false,
2574
+ "mcp": true,
2575
+ "anonymous": false,
2576
+ "scope": "deck:read"
2577
+ },
2578
+ {
2579
+ "command": "triggers credentials",
2580
+ "tool": "list_trigger_credentials",
2581
+ "operationId": "listTriggerCredentials",
2582
+ "description": "List a trigger's credentials",
2583
+ "method": "GET",
2584
+ "path": "/v2/triggers/{trigger_id}/credentials",
2585
+ "path_params": [
2586
+ {
2587
+ "name": "trigger_id",
2588
+ "required": true,
2589
+ "schema": {
2590
+ "type": "string"
2591
+ },
2592
+ "id_prefix": "trg_"
2593
+ }
2594
+ ],
2595
+ "query_params": [
2596
+ {
2597
+ "name": "Limit",
2598
+ "required": false,
2599
+ "schema": {
2600
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
2601
+ "type": [
2602
+ "integer",
2603
+ "string"
2604
+ ],
2605
+ "format": "int32"
2606
+ }
2607
+ },
2608
+ {
2609
+ "name": "Cursor",
2610
+ "required": false,
2611
+ "schema": {
2612
+ "type": "string"
2613
+ }
2614
+ }
2615
+ ],
2616
+ "body_schema": null,
2617
+ "unnamed_in_spec": false,
2618
+ "destructive": false,
2619
+ "core": false,
2620
+ "sensitive_rule": false,
2621
+ "mcp": true,
2622
+ "anonymous": false,
2623
+ "scope": "deck:read"
2624
+ },
2625
+ {
2626
+ "command": "triggers list",
2627
+ "tool": "list_triggers",
2628
+ "operationId": "listTriggers",
2629
+ "description": "List triggers",
2630
+ "method": "GET",
2631
+ "path": "/v2/triggers",
2632
+ "path_params": [],
2633
+ "query_params": [
2634
+ {
2635
+ "name": "status",
2636
+ "required": false,
2637
+ "schema": {
2638
+ "type": "string"
2639
+ }
2640
+ },
2641
+ {
2642
+ "name": "task_id",
2643
+ "required": false,
2644
+ "schema": {
2645
+ "type": "string"
2646
+ }
2647
+ },
2648
+ {
2649
+ "name": "workflow_id",
2650
+ "required": false,
2651
+ "schema": {
2652
+ "type": "string"
2653
+ }
2654
+ },
2655
+ {
2656
+ "name": "Limit",
2657
+ "required": false,
2658
+ "schema": {
2659
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
2660
+ "type": [
2661
+ "integer",
2662
+ "string"
2663
+ ],
2664
+ "format": "int32"
2665
+ }
2666
+ },
2667
+ {
2668
+ "name": "Cursor",
2669
+ "required": false,
2670
+ "schema": {
2671
+ "type": "string"
2672
+ }
2673
+ }
2674
+ ],
2675
+ "body_schema": null,
2676
+ "unnamed_in_spec": false,
2677
+ "destructive": false,
2678
+ "core": false,
2679
+ "sensitive_rule": false,
2680
+ "mcp": true,
2681
+ "anonymous": false,
2682
+ "scope": "deck:read"
2683
+ },
2684
+ {
2685
+ "command": "workflow-runs list",
2686
+ "tool": "list_workflow_runs",
2687
+ "operationId": "listWorkflowRuns",
2688
+ "description": "List workflow runs",
2689
+ "method": "GET",
2690
+ "path": "/v2/workflow-runs",
2691
+ "path_params": [],
2692
+ "query_params": [
2693
+ {
2694
+ "name": "status",
2695
+ "required": false,
2696
+ "schema": {
2697
+ "type": "array",
2698
+ "items": {
2699
+ "type": "string"
2700
+ }
2701
+ }
2702
+ },
2703
+ {
2704
+ "name": "workflow_id",
2705
+ "required": false,
2706
+ "schema": {
2707
+ "type": "string"
2708
+ },
2709
+ "id_prefix": "wflo_"
2710
+ },
2711
+ {
2712
+ "name": "trigger_id",
2713
+ "required": false,
2714
+ "schema": {
2715
+ "type": "string"
2716
+ },
2717
+ "id_prefix": "trg_"
2718
+ },
2719
+ {
2720
+ "name": "Limit",
2721
+ "required": false,
2722
+ "schema": {
2723
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
2724
+ "type": [
2725
+ "integer",
2726
+ "string"
2727
+ ],
2728
+ "format": "int32"
2729
+ }
2730
+ },
2731
+ {
2732
+ "name": "Cursor",
2733
+ "required": false,
2734
+ "schema": {
2735
+ "type": "string"
2736
+ }
2737
+ }
2738
+ ],
2739
+ "body_schema": null,
2740
+ "unnamed_in_spec": false,
2741
+ "destructive": false,
2742
+ "core": false,
2743
+ "sensitive_rule": false,
2744
+ "mcp": true,
2745
+ "anonymous": false,
2746
+ "scope": "deck:read"
2747
+ },
2748
+ {
2749
+ "command": "workflows list",
2750
+ "tool": "list_workflows",
2751
+ "operationId": "listWorkflows",
2752
+ "description": "List workflows",
2753
+ "method": "GET",
2754
+ "path": "/v2/workflows",
2755
+ "path_params": [],
2756
+ "query_params": [
2757
+ {
2758
+ "name": "Limit",
2759
+ "required": false,
2760
+ "schema": {
2761
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
2762
+ "type": [
2763
+ "integer",
2764
+ "string"
2765
+ ],
2766
+ "format": "int32"
2767
+ }
2768
+ },
2769
+ {
2770
+ "name": "Cursor",
2771
+ "required": false,
2772
+ "schema": {
2773
+ "type": "string"
2774
+ }
2775
+ }
2776
+ ],
2777
+ "body_schema": null,
2778
+ "unnamed_in_spec": false,
2779
+ "destructive": false,
2780
+ "core": false,
2781
+ "sensitive_rule": false,
2782
+ "mcp": true,
2783
+ "anonymous": false,
2784
+ "scope": "deck:read"
2785
+ },
2786
+ {
2787
+ "command": "tasks sources reorder",
2788
+ "tool": "reorder_task_source_routines",
2789
+ "operationId": "reorderTaskSourceRoutines",
2790
+ "description": "Reorder a source's routine chain",
2791
+ "method": "PATCH",
2792
+ "path": "/v2/tasks/{task_id}/sources/{source_id}",
2793
+ "path_params": [
2794
+ {
2795
+ "name": "task_id",
2796
+ "required": true,
2797
+ "schema": {
2798
+ "type": "string"
2799
+ },
2800
+ "id_prefix": "task_"
2801
+ },
2802
+ {
2803
+ "name": "source_id",
2804
+ "required": true,
2805
+ "schema": {
2806
+ "type": "string"
2807
+ },
2808
+ "id_prefix": "src_"
2809
+ }
2810
+ ],
2811
+ "query_params": [],
2812
+ "body_schema": {
2813
+ "required": [
2814
+ "routine_ids"
2815
+ ],
2816
+ "type": "object",
2817
+ "properties": {
2818
+ "routine_ids": {
2819
+ "type": "array",
2820
+ "items": {
2821
+ "type": "string"
2822
+ }
2823
+ }
2824
+ }
2825
+ },
2826
+ "unnamed_in_spec": false,
2827
+ "destructive": false,
2828
+ "core": false,
2829
+ "sensitive_rule": false,
2830
+ "mcp": true,
2831
+ "anonymous": false,
2832
+ "scope": "deck:write"
2833
+ },
2834
+ {
2835
+ "command": "events replay",
2836
+ "tool": "replay_event",
2837
+ "operationId": "replayEvent",
2838
+ "description": "Replay an event",
2839
+ "method": "POST",
2840
+ "path": "/v2/events/{event_id}/replay",
2841
+ "path_params": [
2842
+ {
2843
+ "name": "event_id",
2844
+ "required": true,
2845
+ "schema": {
2846
+ "type": "string"
2847
+ },
2848
+ "id_prefix": "evt_"
2849
+ }
2850
+ ],
2851
+ "query_params": [],
2852
+ "body_schema": {
2853
+ "required": [
2854
+ "destination_id"
2855
+ ],
2856
+ "type": "object",
2857
+ "properties": {
2858
+ "destination_id": {
2859
+ "type": "string",
2860
+ "description": "The event destination to redeliver to (prefixed with `evtd_`)."
2861
+ }
2862
+ }
2863
+ },
2864
+ "unnamed_in_spec": false,
2865
+ "destructive": false,
2866
+ "core": false,
2867
+ "sensitive_rule": false,
2868
+ "mcp": true,
2869
+ "anonymous": false,
2870
+ "scope": "deck:write"
2871
+ },
2872
+ {
2873
+ "command": "task-runs rerun",
2874
+ "tool": "rerun_task_run",
2875
+ "operationId": "rerunTaskRun",
2876
+ "description": "Rerun a task run",
2877
+ "method": "POST",
2878
+ "path": "/v2/task-runs/{run_id}/rerun",
2879
+ "path_params": [
2880
+ {
2881
+ "name": "run_id",
2882
+ "required": true,
2883
+ "schema": {
2884
+ "type": "string"
2885
+ },
2886
+ "id_prefix": "trun_"
2887
+ }
2888
+ ],
2889
+ "query_params": [],
2890
+ "body_schema": null,
2891
+ "unnamed_in_spec": false,
2892
+ "destructive": false,
2893
+ "core": false,
2894
+ "sensitive_rule": false,
2895
+ "mcp": true,
2896
+ "anonymous": false,
2897
+ "scope": "deck:write",
2898
+ "follow": {
2899
+ "poll": "get_task_run",
2900
+ "id_from": "id",
2901
+ "id_as": "run_id",
2902
+ "terminal": [
2903
+ "completed",
2904
+ "canceled",
2905
+ "failed"
2906
+ ],
2907
+ "pause_on": [
2908
+ "interaction_required",
2909
+ "review_required"
2910
+ ],
2911
+ "default_timeout_seconds": 300
2912
+ }
2913
+ },
2914
+ {
2915
+ "command": "workflow-runs rerun",
2916
+ "tool": "rerun_workflow_run",
2917
+ "operationId": "rerunWorkflowRun",
2918
+ "description": "Rerun a workflow run",
2919
+ "method": "POST",
2920
+ "path": "/v2/workflow-runs/{workflow_run_id}/rerun",
2921
+ "path_params": [
2922
+ {
2923
+ "name": "workflow_run_id",
2924
+ "required": true,
2925
+ "schema": {
2926
+ "type": "string"
2927
+ },
2928
+ "id_prefix": "wrun_"
2929
+ }
2930
+ ],
2931
+ "query_params": [],
2932
+ "body_schema": null,
2933
+ "unnamed_in_spec": false,
2934
+ "destructive": false,
2935
+ "core": false,
2936
+ "sensitive_rule": false,
2937
+ "mcp": true,
2938
+ "anonymous": false,
2939
+ "scope": "deck:write",
2940
+ "follow": {
2941
+ "poll": "get_workflow_run",
2942
+ "id_from": "id",
2943
+ "id_as": "workflow_run_id",
2944
+ "terminal": [
2945
+ "completed",
2946
+ "failed",
2947
+ "canceled"
2948
+ ],
2949
+ "pause_on": [
2950
+ "paused"
2951
+ ],
2952
+ "default_timeout_seconds": 300
2953
+ }
2954
+ },
2955
+ {
2956
+ "command": "sources reset",
2957
+ "tool": "reset_source",
2958
+ "operationId": "resetSource",
2959
+ "description": "Reset a source",
2960
+ "method": "POST",
2961
+ "path": "/v2/sources/{source_id}/reset",
2962
+ "path_params": [
2963
+ {
2964
+ "name": "source_id",
2965
+ "required": true,
2966
+ "schema": {
2967
+ "type": "string"
2968
+ },
2969
+ "id_prefix": "src_"
2970
+ }
2971
+ ],
2972
+ "query_params": [],
2973
+ "body_schema": null,
2974
+ "unnamed_in_spec": false,
2975
+ "destructive": false,
2976
+ "core": false,
2977
+ "sensitive_rule": false,
2978
+ "mcp": true,
2979
+ "anonymous": false,
2980
+ "scope": "deck:write"
2981
+ },
2982
+ {
2983
+ "command": "tasks reset",
2984
+ "tool": "reset_task",
2985
+ "operationId": "resetTask",
2986
+ "description": "Reset a task to learning",
2987
+ "method": "POST",
2988
+ "path": "/v2/tasks/{task_id}/reset",
2989
+ "path_params": [
2990
+ {
2991
+ "name": "task_id",
2992
+ "required": true,
2993
+ "schema": {
2994
+ "type": "string"
2995
+ }
2996
+ }
2997
+ ],
2998
+ "query_params": [],
2999
+ "body_schema": null,
3000
+ "unnamed_in_spec": false,
3001
+ "destructive": true,
3002
+ "core": false,
3003
+ "sensitive_rule": false,
3004
+ "mcp": true,
3005
+ "anonymous": false,
3006
+ "scope": "deck:write"
3007
+ },
3008
+ {
3009
+ "command": "event-destinations rotate-secret",
3010
+ "tool": "rotate_event_destination_secret",
3011
+ "operationId": "rotateEventDestinationSecret",
3012
+ "description": "Rotate a webhook signing secret",
3013
+ "method": "POST",
3014
+ "path": "/v2/event-destinations/{destination_id}/rotate-secret",
3015
+ "path_params": [
3016
+ {
3017
+ "name": "destination_id",
3018
+ "required": true,
3019
+ "schema": {
3020
+ "type": "string"
3021
+ },
3022
+ "id_prefix": "evtd_"
3023
+ }
3024
+ ],
3025
+ "query_params": [],
3026
+ "body_schema": null,
3027
+ "unnamed_in_spec": false,
3028
+ "destructive": true,
3029
+ "core": false,
3030
+ "sensitive_rule": false,
3031
+ "mcp": true,
3032
+ "anonymous": false,
3033
+ "scope": "deck:write"
3034
+ },
3035
+ {
3036
+ "command": "tasks run",
3037
+ "tool": "run_task",
3038
+ "operationId": "runTask",
3039
+ "description": "Run a task",
3040
+ "method": "POST",
3041
+ "path": "/v2/tasks/{task_id}/run",
3042
+ "path_params": [
3043
+ {
3044
+ "name": "task_id",
3045
+ "required": true,
3046
+ "schema": {
3047
+ "type": "string"
3048
+ },
3049
+ "id_prefix": "task_"
3050
+ }
3051
+ ],
3052
+ "query_params": [],
3053
+ "body_schema": {
3054
+ "type": "object",
3055
+ "properties": {
3056
+ "credential_id": {
3057
+ "type": [
3058
+ "null",
3059
+ "string"
3060
+ ],
3061
+ "description": "ID of the credential to authenticate with the source. Required when the task needs to log in."
3062
+ },
3063
+ "source_id": {
3064
+ "type": [
3065
+ "null",
3066
+ "string"
3067
+ ],
3068
+ "description": "ID of the source to run against. Overrides the task's default source."
3069
+ },
3070
+ "session_id": {
3071
+ "type": [
3072
+ "null",
3073
+ "string"
3074
+ ],
3075
+ "description": "ID of an existing active session to run within."
3076
+ },
3077
+ "input": {},
3078
+ "interactions_suppressed": {
3079
+ "type": "boolean",
3080
+ "description": "When true, the run never sends an interaction (MFA code, security question) to a person. Challenges Deck clears on its own (captchas, auto-resolved verification steps) still proceed; one that needs a person fails the run with error code `interaction_suppressed` and leaves the credential valid. The credential stays valid. Defaults to false.",
3081
+ "default": false
3082
+ }
3083
+ }
3084
+ },
3085
+ "unnamed_in_spec": false,
3086
+ "destructive": false,
3087
+ "core": true,
3088
+ "sensitive_rule": false,
3089
+ "mcp": true,
3090
+ "anonymous": false,
3091
+ "scope": "deck:write",
3092
+ "follow": {
3093
+ "poll": "get_task_run",
3094
+ "id_from": "id",
3095
+ "id_as": "run_id",
3096
+ "terminal": [
3097
+ "completed",
3098
+ "canceled",
3099
+ "failed"
3100
+ ],
3101
+ "pause_on": [
3102
+ "interaction_required",
3103
+ "review_required"
3104
+ ],
3105
+ "default_timeout_seconds": 300
3106
+ }
3107
+ },
3108
+ {
3109
+ "command": "workflows run",
3110
+ "tool": "run_workflow",
3111
+ "operationId": "runWorkflow",
3112
+ "description": "Run a workflow",
3113
+ "method": "POST",
3114
+ "path": "/v2/workflows/{workflow_id}/run",
3115
+ "path_params": [
3116
+ {
3117
+ "name": "workflow_id",
3118
+ "required": true,
3119
+ "schema": {
3120
+ "type": "string"
3121
+ },
3122
+ "id_prefix": "wflo_"
3123
+ }
3124
+ ],
3125
+ "query_params": [],
3126
+ "body_schema": {
3127
+ "type": "object",
3128
+ "properties": {
3129
+ "steps": {
3130
+ "type": [
3131
+ "null",
3132
+ "array"
3133
+ ],
3134
+ "items": {
3135
+ "required": [
3136
+ "name"
3137
+ ],
3138
+ "type": "object",
3139
+ "properties": {
3140
+ "name": {
3141
+ "type": "string",
3142
+ "description": "The step to override, matching a step `name` in the workflow definition."
3143
+ },
3144
+ "credential_id": {
3145
+ "type": [
3146
+ "null",
3147
+ "string"
3148
+ ],
3149
+ "description": "Credential for this step's task run. Mutually exclusive with `source_id`."
3150
+ },
3151
+ "source_id": {
3152
+ "type": [
3153
+ "null",
3154
+ "string"
3155
+ ],
3156
+ "description": "Source for this step's task run (public sources only). Mutually exclusive with `credential_id`."
3157
+ },
3158
+ "input": {}
3159
+ }
3160
+ },
3161
+ "description": "Per-step overrides, each identified by the step's `name`."
3162
+ },
3163
+ "session_id": {
3164
+ "type": [
3165
+ "null",
3166
+ "string"
3167
+ ],
3168
+ "description": "Run every step in this existing session instead of opening a new one — the session you started with `POST /v2/sessions`, optionally with a `source_id` so the agent is already on the source's login page when the first step runs. Reusing a session is exempt from the concurrency ceiling, so the run costs no additional slot. The session must still be open and unused: a completed, failed, ended or unknown one is a 404, and one another run is already using — a workflow run executing in it, a task run still in flight, or a session a workflow or trigger run opened for itself — is a 409 `resource_not_ready`. **The run ends the session when it finishes**, as it does the session it opens for itself — so pass a session you are handing to this run, not one you want to keep using afterwards. Omit it and the run opens and manages its own session."
3169
+ },
3170
+ "interactions_suppressed": {
3171
+ "type": "boolean",
3172
+ "description": "When true, no step of this run sends an interaction (MFA code, security question) to a person. Challenges Deck clears on its own (captchas, auto-resolved verification steps) still proceed; one that needs a person fails the run with error code `interaction_suppressed` and leaves the credential valid. The credential stays valid. Defaults to false."
3173
+ }
3174
+ }
3175
+ },
3176
+ "unnamed_in_spec": false,
3177
+ "destructive": false,
3178
+ "core": false,
3179
+ "sensitive_rule": false,
3180
+ "mcp": true,
3181
+ "anonymous": false,
3182
+ "scope": "deck:write",
3183
+ "follow": {
3184
+ "poll": "get_workflow_run",
3185
+ "id_from": "id",
3186
+ "id_as": "workflow_run_id",
3187
+ "terminal": [
3188
+ "completed",
3189
+ "failed",
3190
+ "canceled"
3191
+ ],
3192
+ "pause_on": [
3193
+ "paused"
3194
+ ],
3195
+ "default_timeout_seconds": 300
3196
+ }
3197
+ },
3198
+ {
3199
+ "command": "sessions start",
3200
+ "tool": "start_session",
3201
+ "operationId": "startSession",
3202
+ "description": "Start a session",
3203
+ "method": "POST",
3204
+ "path": "/v2/sessions",
3205
+ "path_params": [],
3206
+ "query_params": [],
3207
+ "body_schema": {
3208
+ "type": "object",
3209
+ "properties": {
3210
+ "source_id": {
3211
+ "type": [
3212
+ "null",
3213
+ "string"
3214
+ ],
3215
+ "description": "Source to prepare the session for. The agent opens that source's login page ahead of the first run, so an auth run on this session starts a few seconds ahead. A hint only: a task or workflow run on the session can target any source. An unknown source returns 404."
3216
+ }
3217
+ }
3218
+ },
3219
+ "unnamed_in_spec": false,
3220
+ "destructive": false,
3221
+ "core": false,
3222
+ "sensitive_rule": false,
3223
+ "mcp": true,
3224
+ "anonymous": false,
3225
+ "scope": "deck:write"
3226
+ },
3227
+ {
3228
+ "command": "task-runs interaction",
3229
+ "tool": "submit_interaction",
3230
+ "operationId": "submitInteraction",
3231
+ "description": "Submit interaction input for a task run",
3232
+ "method": "POST",
3233
+ "path": "/v2/task-runs/{run_id}/interaction",
3234
+ "path_params": [
3235
+ {
3236
+ "name": "run_id",
3237
+ "required": true,
3238
+ "schema": {
3239
+ "type": "string"
3240
+ },
3241
+ "id_prefix": "trun_"
3242
+ }
3243
+ ],
3244
+ "query_params": [],
3245
+ "body_schema": {
3246
+ "type": "object",
3247
+ "properties": {
3248
+ "input": {}
3249
+ }
3250
+ },
3251
+ "unnamed_in_spec": false,
3252
+ "destructive": false,
3253
+ "core": true,
3254
+ "sensitive_rule": false,
3255
+ "mcp": true,
3256
+ "anonymous": false,
3257
+ "scope": "deck:write"
3258
+ },
3259
+ {
3260
+ "command": "auth test",
3261
+ "tool": "test_api_key",
3262
+ "operationId": "testApiKey",
3263
+ "description": "Test API key",
3264
+ "method": "GET",
3265
+ "path": "/v2/test",
3266
+ "path_params": [],
3267
+ "query_params": [],
3268
+ "body_schema": null,
3269
+ "unnamed_in_spec": false,
3270
+ "destructive": false,
3271
+ "core": false,
3272
+ "sensitive_rule": false,
3273
+ "mcp": false,
3274
+ "anonymous": false,
3275
+ "scope": "deck:read"
3276
+ },
3277
+ {
3278
+ "command": "event-destinations test",
3279
+ "tool": "test_event_destination",
3280
+ "operationId": "testEventDestination",
3281
+ "description": "Send a test event to a destination",
3282
+ "method": "POST",
3283
+ "path": "/v2/event-destinations/{destination_id}/test",
3284
+ "path_params": [
3285
+ {
3286
+ "name": "destination_id",
3287
+ "required": true,
3288
+ "schema": {
3289
+ "type": "string"
3290
+ },
3291
+ "id_prefix": "evtd_"
3292
+ }
3293
+ ],
3294
+ "query_params": [],
3295
+ "body_schema": null,
3296
+ "unnamed_in_spec": false,
3297
+ "destructive": false,
3298
+ "core": false,
3299
+ "sensitive_rule": false,
3300
+ "mcp": true,
3301
+ "anonymous": false,
3302
+ "scope": "deck:write"
3303
+ },
3304
+ {
3305
+ "command": "agents update",
3306
+ "tool": "update_agent",
3307
+ "operationId": "updateAgent",
3308
+ "description": "Update an agent",
3309
+ "method": "PATCH",
3310
+ "path": "/v2/agents/{agent_id}",
3311
+ "path_params": [
3312
+ {
3313
+ "name": "agent_id",
3314
+ "required": true,
3315
+ "schema": {
3316
+ "type": "string"
3317
+ },
3318
+ "id_prefix": "agt_"
3319
+ }
3320
+ ],
3321
+ "query_params": [],
3322
+ "body_schema": {
3323
+ "type": "object",
3324
+ "properties": {
3325
+ "name": {
3326
+ "type": [
3327
+ "null",
3328
+ "string"
3329
+ ],
3330
+ "description": "New display name for the agent."
3331
+ },
3332
+ "description": {
3333
+ "type": [
3334
+ "null",
3335
+ "string"
3336
+ ],
3337
+ "description": "New description for the agent."
3338
+ }
3339
+ }
3340
+ },
3341
+ "unnamed_in_spec": false,
3342
+ "destructive": false,
3343
+ "core": false,
3344
+ "sensitive_rule": false,
3345
+ "mcp": true,
3346
+ "anonymous": false,
3347
+ "scope": "deck:write"
3348
+ },
3349
+ {
3350
+ "command": "credentials update",
3351
+ "tool": "update_credential",
3352
+ "operationId": "updateCredential",
3353
+ "description": "Update a credential",
3354
+ "method": "PATCH",
3355
+ "path": "/v2/credentials/{credential_id}",
3356
+ "path_params": [
3357
+ {
3358
+ "name": "credential_id",
3359
+ "required": true,
3360
+ "schema": {
3361
+ "type": "string"
3362
+ },
3363
+ "id_prefix": "cred_"
3364
+ }
3365
+ ],
3366
+ "query_params": [],
3367
+ "body_schema": {
3368
+ "type": "object",
3369
+ "properties": {
3370
+ "auth_credentials": {},
3371
+ "external_id": {
3372
+ "type": [
3373
+ "null",
3374
+ "string"
3375
+ ],
3376
+ "description": "Updated external identifier."
3377
+ },
3378
+ "persistence": {
3379
+ "required": [
3380
+ "enabled"
3381
+ ],
3382
+ "type": "object",
3383
+ "properties": {
3384
+ "enabled": {
3385
+ "type": "boolean",
3386
+ "description": "Whether persistence is enabled for this credential. Disabling deletes the saved state; re-enabling starts fresh."
3387
+ }
3388
+ }
3389
+ },
3390
+ "interactions_managed": {
3391
+ "type": "object",
3392
+ "properties": {
3393
+ "enabled": {
3394
+ "type": [
3395
+ "null",
3396
+ "boolean"
3397
+ ],
3398
+ "description": "Whether Deck answers interactions for this credential. Defaults to false."
3399
+ },
3400
+ "methods": {
3401
+ "type": [
3402
+ "null",
3403
+ "array"
3404
+ ],
3405
+ "items": {
3406
+ "type": "object",
3407
+ "properties": {
3408
+ "type": {
3409
+ "type": [
3410
+ "null",
3411
+ "string"
3412
+ ],
3413
+ "description": "Method type: \"security_question\"."
3414
+ },
3415
+ "questions": {
3416
+ "type": [
3417
+ "null",
3418
+ "array"
3419
+ ],
3420
+ "items": {
3421
+ "type": "object",
3422
+ "properties": {
3423
+ "text": {
3424
+ "type": [
3425
+ "null",
3426
+ "string"
3427
+ ],
3428
+ "description": "The question as the source shows it."
3429
+ },
3430
+ "answer": {
3431
+ "type": [
3432
+ "null",
3433
+ "string"
3434
+ ],
3435
+ "description": "Write-only. The answer to give."
3436
+ }
3437
+ }
3438
+ },
3439
+ "description": "security_question: the questions Deck can answer. `answer` is write-only; an entry with `text` and no `answer` keeps its saved answer. Entries left out are deleted."
3440
+ },
3441
+ "capture": {
3442
+ "type": "object",
3443
+ "properties": {
3444
+ "enabled": {
3445
+ "type": [
3446
+ "null",
3447
+ "boolean"
3448
+ ],
3449
+ "description": "Whether capture is on. Requires `fallback.enabled`. Defaults to false; omit to leave it unchanged."
3450
+ }
3451
+ }
3452
+ },
3453
+ "provider": {
3454
+ "type": [
3455
+ "null",
3456
+ "string"
3457
+ ],
3458
+ "description": "email / sms: the connected provider that delivers codes."
3459
+ }
3460
+ }
3461
+ },
3462
+ "description": "The methods Deck may use, in priority order. One method per type."
3463
+ },
3464
+ "fallback": {
3465
+ "type": "object",
3466
+ "properties": {
3467
+ "enabled": {
3468
+ "type": [
3469
+ "null",
3470
+ "boolean"
3471
+ ],
3472
+ "description": "Hand an interaction no method can answer to you, instead of failing the run. Defaults to true; omit to leave it unchanged."
3473
+ }
3474
+ }
3475
+ }
3476
+ }
3477
+ },
3478
+ "geolocation": {}
3479
+ }
3480
+ },
3481
+ "unnamed_in_spec": false,
3482
+ "destructive": false,
3483
+ "core": false,
3484
+ "sensitive_rule": false,
3485
+ "mcp": true,
3486
+ "anonymous": false,
3487
+ "scope": "deck:write"
3488
+ },
3489
+ {
3490
+ "command": "event-destinations update",
3491
+ "tool": "update_event_destination",
3492
+ "operationId": "updateEventDestination",
3493
+ "description": "Update an event destination",
3494
+ "method": "PATCH",
3495
+ "path": "/v2/event-destinations/{destination_id}",
3496
+ "path_params": [
3497
+ {
3498
+ "name": "destination_id",
3499
+ "required": true,
3500
+ "schema": {
3501
+ "type": "string"
3502
+ },
3503
+ "id_prefix": "evtd_"
3504
+ }
3505
+ ],
3506
+ "query_params": [],
3507
+ "body_schema": {
3508
+ "type": "object",
3509
+ "properties": {
3510
+ "name": {
3511
+ "type": [
3512
+ "null",
3513
+ "string"
3514
+ ]
3515
+ },
3516
+ "status": {
3517
+ "type": [
3518
+ "null",
3519
+ "string"
3520
+ ]
3521
+ },
3522
+ "events": {
3523
+ "type": [
3524
+ "null",
3525
+ "array"
3526
+ ],
3527
+ "items": {
3528
+ "type": "string"
3529
+ }
3530
+ },
3531
+ "filter": {}
3532
+ }
3533
+ },
3534
+ "unnamed_in_spec": false,
3535
+ "destructive": false,
3536
+ "core": false,
3537
+ "sensitive_rule": false,
3538
+ "mcp": true,
3539
+ "anonymous": false,
3540
+ "scope": "deck:write"
3541
+ },
3542
+ {
3543
+ "command": "routines update",
3544
+ "tool": "update_routine",
3545
+ "operationId": "updateRoutine",
3546
+ "description": "Update a routine",
3547
+ "method": "PATCH",
3548
+ "path": "/v2/routines/{routine_id}",
3549
+ "path_params": [
3550
+ {
3551
+ "name": "routine_id",
3552
+ "required": true,
3553
+ "schema": {
3554
+ "type": "string"
3555
+ },
3556
+ "id_prefix": "rtn_"
3557
+ }
3558
+ ],
3559
+ "query_params": [],
3560
+ "body_schema": {
3561
+ "type": "object",
3562
+ "properties": {
3563
+ "name": {
3564
+ "type": [
3565
+ "null",
3566
+ "string"
3567
+ ]
3568
+ },
3569
+ "type": {
3570
+ "type": [
3571
+ "null",
3572
+ "string"
3573
+ ]
3574
+ }
3575
+ }
3576
+ },
3577
+ "unnamed_in_spec": false,
3578
+ "destructive": false,
3579
+ "core": true,
3580
+ "sensitive_rule": false,
3581
+ "mcp": true,
3582
+ "anonymous": false,
3583
+ "scope": "deck:write"
3584
+ },
3585
+ {
3586
+ "command": "sources update",
3587
+ "tool": "update_source",
3588
+ "operationId": "updateSource",
3589
+ "description": "Update a source",
3590
+ "method": "PATCH",
3591
+ "path": "/v2/sources/{source_id}",
3592
+ "path_params": [
3593
+ {
3594
+ "name": "source_id",
3595
+ "required": true,
3596
+ "schema": {
3597
+ "type": "string"
3598
+ },
3599
+ "id_prefix": "src_"
3600
+ }
3601
+ ],
3602
+ "query_params": [],
3603
+ "body_schema": {
3604
+ "type": "object",
3605
+ "properties": {
3606
+ "name": {
3607
+ "type": [
3608
+ "null",
3609
+ "string"
3610
+ ],
3611
+ "description": "New display name for the source."
3612
+ },
3613
+ "url": {
3614
+ "type": [
3615
+ "null",
3616
+ "string"
3617
+ ],
3618
+ "description": "New URL for the source website."
3619
+ },
3620
+ "network": {
3621
+ "required": [
3622
+ "type"
3623
+ ],
3624
+ "type": "object",
3625
+ "properties": {
3626
+ "type": {
3627
+ "type": "string",
3628
+ "description": "The source's network path: \"default\" for normal egress, or \"static_ips\" to route every run against this source through Deck's allowlistable static-IP block."
3629
+ },
3630
+ "static_ips": {}
3631
+ }
3632
+ },
3633
+ "headers": {}
3634
+ }
3635
+ },
3636
+ "unnamed_in_spec": false,
3637
+ "destructive": false,
3638
+ "core": false,
3639
+ "sensitive_rule": false,
3640
+ "mcp": true,
3641
+ "anonymous": false,
3642
+ "scope": "deck:write"
3643
+ },
3644
+ {
3645
+ "command": "tasks update",
3646
+ "tool": "update_task",
3647
+ "operationId": "updateTask",
3648
+ "description": "Update a task",
3649
+ "method": "PATCH",
3650
+ "path": "/v2/tasks/{task_id}",
3651
+ "path_params": [
3652
+ {
3653
+ "name": "task_id",
3654
+ "required": true,
3655
+ "schema": {
3656
+ "type": "string"
3657
+ },
3658
+ "id_prefix": "task_"
3659
+ }
3660
+ ],
3661
+ "query_params": [],
3662
+ "body_schema": {
3663
+ "type": "object",
3664
+ "properties": {
3665
+ "name": {
3666
+ "type": [
3667
+ "null",
3668
+ "string"
3669
+ ],
3670
+ "description": "New display name for the task."
3671
+ },
3672
+ "input_schema": {},
3673
+ "prompt": {
3674
+ "type": [
3675
+ "null",
3676
+ "string"
3677
+ ],
3678
+ "description": "Updated natural language instructions for the agent."
3679
+ },
3680
+ "storage": {},
3681
+ "settings": {},
3682
+ "output_schema": {}
3683
+ }
3684
+ },
3685
+ "unnamed_in_spec": false,
3686
+ "destructive": false,
3687
+ "core": true,
3688
+ "sensitive_rule": false,
3689
+ "mcp": true,
3690
+ "anonymous": false,
3691
+ "scope": "deck:write"
3692
+ },
3693
+ {
3694
+ "command": "triggers update",
3695
+ "tool": "update_trigger",
3696
+ "operationId": "updateTrigger",
3697
+ "description": "Update a trigger",
3698
+ "method": "PATCH",
3699
+ "path": "/v2/triggers/{trigger_id}",
3700
+ "path_params": [
3701
+ {
3702
+ "name": "trigger_id",
3703
+ "required": true,
3704
+ "schema": {
3705
+ "type": "string"
3706
+ },
3707
+ "id_prefix": "trg_"
3708
+ }
3709
+ ],
3710
+ "query_params": [],
3711
+ "body_schema": {
3712
+ "type": "object",
3713
+ "properties": {
3714
+ "name": {
3715
+ "type": [
3716
+ "null",
3717
+ "string"
3718
+ ],
3719
+ "description": "Human-readable name."
3720
+ },
3721
+ "description": {},
3722
+ "status": {
3723
+ "type": [
3724
+ "null",
3725
+ "string"
3726
+ ],
3727
+ "description": "`active` / `inactive` — activate or deactivate the trigger."
3728
+ },
3729
+ "condition": {},
3730
+ "task_id": {
3731
+ "type": [
3732
+ "null",
3733
+ "string"
3734
+ ],
3735
+ "description": "Task to run. Still exactly one of `task_id` / `workflow_id`."
3736
+ },
3737
+ "workflow_id": {
3738
+ "type": [
3739
+ "null",
3740
+ "string"
3741
+ ],
3742
+ "description": "Workflow to run. Still exactly one of `task_id` / `workflow_id`."
3743
+ },
3744
+ "credential_ids": {
3745
+ "type": [
3746
+ "null",
3747
+ "array"
3748
+ ],
3749
+ "items": {
3750
+ "type": "string"
3751
+ },
3752
+ "description": "Explicit credentials. Replaces the existing credential target wholesale."
3753
+ },
3754
+ "credential_filter": {},
3755
+ "input": {},
3756
+ "steps": {},
3757
+ "skip_if": {},
3758
+ "concurrency_max": {}
3759
+ }
3760
+ },
3761
+ "unnamed_in_spec": false,
3762
+ "destructive": false,
3763
+ "core": false,
3764
+ "sensitive_rule": false,
3765
+ "mcp": true,
3766
+ "anonymous": false,
3767
+ "scope": "deck:write"
3768
+ },
3769
+ {
3770
+ "command": "workflows update",
3771
+ "tool": "update_workflow",
3772
+ "operationId": "updateWorkflow",
3773
+ "description": "Update a workflow",
3774
+ "method": "PATCH",
3775
+ "path": "/v2/workflows/{workflow_id}",
3776
+ "path_params": [
3777
+ {
3778
+ "name": "workflow_id",
3779
+ "required": true,
3780
+ "schema": {
3781
+ "type": "string"
3782
+ },
3783
+ "id_prefix": "wflo_"
3784
+ }
3785
+ ],
3786
+ "query_params": [],
3787
+ "body_schema": {
3788
+ "type": "object",
3789
+ "properties": {
3790
+ "name": {
3791
+ "type": [
3792
+ "null",
3793
+ "string"
3794
+ ],
3795
+ "description": "New display name for the workflow."
3796
+ },
3797
+ "steps": {
3798
+ "type": "array",
3799
+ "items": {
3800
+ "required": [
3801
+ "type"
3802
+ ],
3803
+ "type": "object",
3804
+ "discriminator": {
3805
+ "propertyName": "type",
3806
+ "mapping": {
3807
+ "task": "#/components/schemas/WorkflowStepWorkflowTaskStep",
3808
+ "for_each": "#/components/schemas/WorkflowStepWorkflowForEachStep"
3809
+ }
3810
+ },
3811
+ "anyOf": [
3812
+ {
3813
+ "required": [
3814
+ "name",
3815
+ "task_id"
3816
+ ],
3817
+ "properties": {
3818
+ "type": {
3819
+ "enum": [
3820
+ "task"
3821
+ ],
3822
+ "type": "string"
3823
+ },
3824
+ "name": {
3825
+ "type": "string",
3826
+ "description": "Step identifier, unique within the workflow. Lowercase letters, digits, and underscores."
3827
+ },
3828
+ "task_id": {
3829
+ "type": "string",
3830
+ "description": "The task to run. The agent is derived from the task."
3831
+ },
3832
+ "credential_id": {
3833
+ "type": [
3834
+ "null",
3835
+ "string"
3836
+ ],
3837
+ "description": "Credential for the task run. Mutually exclusive with `source_id`."
3838
+ },
3839
+ "source_id": {
3840
+ "type": [
3841
+ "null",
3842
+ "string"
3843
+ ],
3844
+ "description": "Source for the task run, for public sources that don't require authentication. Mutually exclusive with `credential_id`."
3845
+ },
3846
+ "input": {},
3847
+ "if": {
3848
+ "type": [
3849
+ "null",
3850
+ "string"
3851
+ ],
3852
+ "description": "Condition expression. When it evaluates false the step is `skipped`."
3853
+ }
3854
+ }
3855
+ },
3856
+ {
3857
+ "required": [
3858
+ "name",
3859
+ "items",
3860
+ "step"
3861
+ ],
3862
+ "properties": {
3863
+ "type": {
3864
+ "enum": [
3865
+ "for_each"
3866
+ ],
3867
+ "type": "string"
3868
+ },
3869
+ "name": {
3870
+ "type": "string",
3871
+ "description": "Step identifier, unique within the workflow. Lowercase letters, digits, and underscores."
3872
+ },
3873
+ "items": {
3874
+ "type": "string",
3875
+ "description": "Path to the array to iterate, on an earlier step's output."
3876
+ },
3877
+ "step": {
3878
+ "required": [
3879
+ "task_id"
3880
+ ],
3881
+ "type": "object",
3882
+ "properties": {
3883
+ "type": {
3884
+ "type": [
3885
+ "null",
3886
+ "string"
3887
+ ],
3888
+ "description": "`task`. May be omitted; a loop's inner step is always a task."
3889
+ },
3890
+ "task_id": {
3891
+ "type": "string",
3892
+ "description": "The task to run. The agent is derived from the task."
3893
+ },
3894
+ "credential_id": {
3895
+ "type": [
3896
+ "null",
3897
+ "string"
3898
+ ],
3899
+ "description": "Credential for the task run. Mutually exclusive with `source_id`."
3900
+ },
3901
+ "source_id": {
3902
+ "type": [
3903
+ "null",
3904
+ "string"
3905
+ ],
3906
+ "description": "Source for the task run, for public sources that don't require authentication. Mutually exclusive with `credential_id`."
3907
+ },
3908
+ "input": {},
3909
+ "if": {
3910
+ "type": [
3911
+ "null",
3912
+ "string"
3913
+ ],
3914
+ "description": "Condition expression gating this item. May read `item`."
3915
+ }
3916
+ }
3917
+ },
3918
+ "failure_behavior": {
3919
+ "type": [
3920
+ "null",
3921
+ "string"
3922
+ ],
3923
+ "description": "`stop` (default) fails the step on the first failed item, which stops the workflow. `continue` runs the remaining items and the workflow carries on; failed items have `null` output."
3924
+ },
3925
+ "if": {
3926
+ "type": [
3927
+ "null",
3928
+ "string"
3929
+ ],
3930
+ "description": "Condition expression gating the whole loop. May not read `item`."
3931
+ }
3932
+ }
3933
+ }
3934
+ ]
3935
+ },
3936
+ "description": "Replacement step definitions — the array is replaced wholesale, not merged."
3937
+ }
3938
+ }
3939
+ },
3940
+ "unnamed_in_spec": false,
3941
+ "destructive": false,
3942
+ "core": false,
3943
+ "sensitive_rule": false,
3944
+ "mcp": true,
3945
+ "anonymous": false,
3946
+ "scope": "deck:write"
3947
+ }
3948
+ ]
3949
+ }