forked from getsentry/XcodeBuildMCP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtools_original.json
More file actions
1146 lines (1146 loc) · 35 KB
/
tools_original.json
File metadata and controls
1146 lines (1146 loc) · 35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"mode": "schema-audit",
"toolCount": 71,
"tools": [
{
"name": "boot_sim",
"description": "Boots an iOS simulator.",
"args": []
},
{
"name": "build_device",
"description": "Builds an app for a connected device.",
"args": [
{
"name": "derivedDataPath",
"description": "Path to derived data directory"
},
{
"name": "extraArgs",
"description": "Additional arguments to pass to xcodebuild"
},
{
"name": "preferXcodebuild",
"description": "Prefer xcodebuild over faster alternatives"
}
]
},
{
"name": "build_macos",
"description": "Builds a macOS app.",
"args": [
{
"name": "derivedDataPath",
"description": "Path where build products and other derived data will go"
},
{
"name": "extraArgs",
"description": "Additional xcodebuild arguments"
},
{
"name": "preferXcodebuild",
"description": "If true, prefers xcodebuild over the experimental incremental build system"
}
]
},
{
"name": "build_run_macos",
"description": "Builds and runs a macOS app.",
"args": [
{
"name": "derivedDataPath",
"description": "Path where build products and other derived data will go"
},
{
"name": "extraArgs",
"description": "Additional xcodebuild arguments"
},
{
"name": "preferXcodebuild",
"description": "If true, prefers xcodebuild over the experimental incremental build system"
}
]
},
{
"name": "build_run_sim",
"description": "Builds and runs an app on an iOS simulator.",
"args": [
{
"name": "derivedDataPath",
"description": "Path where build products and other derived data will go"
},
{
"name": "extraArgs",
"description": "Additional xcodebuild arguments"
},
{
"name": "preferXcodebuild",
"description": "If true, prefers xcodebuild over the experimental incremental build system, useful for when incremental build system fails."
}
]
},
{
"name": "build_sim",
"description": "Builds an app for an iOS simulator.",
"args": [
{
"name": "derivedDataPath",
"description": "Path where build products and other derived data will go"
},
{
"name": "extraArgs",
"description": "Additional xcodebuild arguments"
},
{
"name": "preferXcodebuild",
"description": "If true, prefers xcodebuild over the experimental incremental build system, useful for when incremental build system fails."
}
]
},
{
"name": "button",
"description": "Press hardware button on iOS simulator. Supported buttons: apple-pay, home, lock, side-button, siri",
"args": [
{
"name": "buttonType",
"description": null
},
{
"name": "duration",
"description": null
}
]
},
{
"name": "clean",
"description": "Cleans build products with xcodebuild.",
"args": [
{
"name": "derivedDataPath",
"description": "Optional: Path where derived data might be located"
},
{
"name": "extraArgs",
"description": "Additional xcodebuild arguments"
},
{
"name": "platform",
"description": "Optional: Platform to clean for (defaults to iOS). Choose from macOS, iOS, iOS Simulator, watchOS, watchOS Simulator, tvOS, tvOS Simulator, visionOS, visionOS Simulator"
},
{
"name": "preferXcodebuild",
"description": "If true, prefers xcodebuild over the experimental incremental build system, useful for when incremental build system fails."
}
]
},
{
"name": "debug_attach_sim",
"description": "Attach LLDB to a running iOS simulator app. Provide bundleId or pid, plus simulator defaults.",
"args": [
{
"name": "bundleId",
"description": "Bundle identifier of the app to attach (e.g., 'com.example.MyApp')"
},
{
"name": "continueOnAttach",
"description": "Resume execution automatically after attaching (default: true)"
},
{
"name": "makeCurrent",
"description": "Set this debug session as the current session (default: true)"
},
{
"name": "pid",
"description": "Process ID to attach directly"
},
{
"name": "waitFor",
"description": "Wait for the process to appear when attaching"
}
]
},
{
"name": "debug_breakpoint_add",
"description": "Add a breakpoint by file/line or function name for the active debug session.",
"args": [
{
"name": "condition",
"description": "Optional condition expression for the breakpoint"
},
{
"name": "debugSessionId",
"description": "Debug session ID to target (defaults to current session)"
},
{
"name": "file",
"description": null
},
{
"name": "function",
"description": "Function name to break on"
},
{
"name": "line",
"description": "Line number for breakpoint"
}
]
},
{
"name": "debug_breakpoint_remove",
"description": "Remove a breakpoint by id for the active debug session.",
"args": [
{
"name": "breakpointId",
"description": "Breakpoint id to remove"
},
{
"name": "debugSessionId",
"description": "Debug session ID to target (defaults to current session)"
}
]
},
{
"name": "debug_continue",
"description": "Resume execution in the active debug session or a specific debugSessionId.",
"args": [
{
"name": "debugSessionId",
"description": "Debug session ID to resume (defaults to current session)"
}
]
},
{
"name": "debug_detach",
"description": "Detach the current debugger session or a specific debugSessionId.",
"args": [
{
"name": "debugSessionId",
"description": "Debug session ID to detach (defaults to current session)"
}
]
},
{
"name": "debug_lldb_command",
"description": "Run an arbitrary LLDB command within the active debug session.",
"args": [
{
"name": "command",
"description": null
},
{
"name": "debugSessionId",
"description": null
},
{
"name": "timeoutMs",
"description": null
}
]
},
{
"name": "debug_stack",
"description": "Return a thread backtrace from the active debug session.",
"args": [
{
"name": "debugSessionId",
"description": "Debug session ID to target (defaults to current session)"
},
{
"name": "maxFrames",
"description": "Maximum frames to return"
},
{
"name": "threadIndex",
"description": "Thread index for backtrace"
}
]
},
{
"name": "debug_variables",
"description": "Return variables for a selected frame in the active debug session.",
"args": [
{
"name": "debugSessionId",
"description": "Debug session ID to target (defaults to current session)"
},
{
"name": "frameIndex",
"description": "Frame index to inspect"
}
]
},
{
"name": "snapshot_ui",
"description": "Gets entire view hierarchy with precise frame coordinates (x, y, width, height) for all visible elements. Use this before UI interactions or after layout changes - do NOT guess coordinates from screenshots. Returns JSON tree with frame data for accurate automation. Requires the target process to be running; paused debugger/breakpoints can yield an empty tree.",
"args": []
},
{
"name": "discover_projs",
"description": "Scans a directory (defaults to workspace root) to find Xcode project (.xcodeproj) and workspace (.xcworkspace) files.",
"args": [
{
"name": "maxDepth",
"description": "Optional: Maximum directory depth to scan. Defaults to ${DEFAULT_MAX_DEPTH}."
},
{
"name": "scanPath",
"description": "Optional: Path relative to workspace root to scan. Defaults to workspace root."
},
{
"name": "workspaceRoot",
"description": "The absolute path of the workspace root to scan within."
}
]
},
{
"name": "doctor",
"description": "Provides comprehensive information about the MCP server environment, available dependencies, and configuration status.",
"args": [
{
"name": "enabled",
"description": "Optional: dummy parameter to satisfy MCP protocol"
}
]
},
{
"name": "erase_sims",
"description": "Erases a simulator by UDID.",
"args": [
{
"name": "shutdownFirst",
"description": "If true, shuts down the simulator before erasing."
}
]
},
{
"name": "gesture",
"description": "Perform gesture on iOS simulator using preset gestures: scroll-up, scroll-down, scroll-left, scroll-right, swipe-from-left-edge, swipe-from-right-edge, swipe-from-top-edge, swipe-from-bottom-edge",
"args": [
{
"name": "delta",
"description": "Optional: Distance to move in pixels."
},
{
"name": "duration",
"description": "Optional: Duration of the gesture in seconds."
},
{
"name": "postDelay",
"description": "Optional: Delay after completing the gesture in seconds."
},
{
"name": "preDelay",
"description": "Optional: Delay before starting the gesture in seconds."
},
{
"name": "preset",
"description": "The gesture preset to perform. Must be one of: scroll-up, scroll-down, scroll-left, scroll-right, swipe-from-left-edge, swipe-from-right-edge, swipe-from-top-edge, swipe-from-bottom-edge."
},
{
"name": "screenHeight",
"description": "Optional: Screen height in pixels. Used for gesture calculations. Auto-detected if not provided."
},
{
"name": "screenWidth",
"description": "Optional: Screen width in pixels. Used for gesture calculations. Auto-detected if not provided."
}
]
},
{
"name": "get_app_bundle_id",
"description": "Extracts the bundle identifier from an app bundle (.app) for any Apple platform (iOS, iPadOS, watchOS, tvOS, visionOS). IMPORTANT: You MUST provide the appPath parameter. Example: get_app_bundle_id({ appPath: '/path/to/your/app.app' })",
"args": [
{
"name": "appPath",
"description": "Path to the .app bundle to extract bundle ID from (full path to the .app directory)"
}
]
},
{
"name": "get_device_app_path",
"description": "Retrieves the built app path for a connected device.",
"args": [
{
"name": "platform",
"description": "Target platform (defaults to iOS)"
}
]
},
{
"name": "get_mac_app_path",
"description": "Retrieves the built macOS app bundle path.",
"args": [
{
"name": "derivedDataPath",
"description": "Path to derived data directory"
},
{
"name": "extraArgs",
"description": "Additional arguments to pass to xcodebuild"
}
]
},
{
"name": "get_mac_bundle_id",
"description": "Extracts the bundle identifier from a macOS app bundle (.app). IMPORTANT: You MUST provide the appPath parameter. Example: get_mac_bundle_id({ appPath: '/path/to/your/app.app' }) Note: In some environments, this tool may be prefixed as mcp0_get_macos_bundle_id.",
"args": [
{
"name": "appPath",
"description": "Path to the macOS .app bundle to extract bundle ID from (full path to the .app directory)"
}
]
},
{
"name": "get_sim_app_path",
"description": "Retrieves the built app path for an iOS simulator.",
"args": [
{
"name": "platform",
"description": "Target simulator platform (Required)"
}
]
},
{
"name": "install_app_device",
"description": "Installs an app on a connected device.",
"args": [
{
"name": "appPath",
"description": "Path to the .app bundle to install (full path to the .app directory)"
}
]
},
{
"name": "install_app_sim",
"description": "Installs an app in an iOS simulator.",
"args": [
{
"name": "appPath",
"description": "Path to the .app bundle to install (full path to the .app directory)"
}
]
},
{
"name": "key_press",
"description": "Press a single key by keycode on the simulator. Common keycodes: 40=Return, 42=Backspace, 43=Tab, 44=Space, 58-67=F1-F10.",
"args": [
{
"name": "duration",
"description": null
},
{
"name": "keyCode",
"description": null
}
]
},
{
"name": "key_sequence",
"description": "Press key sequence using HID keycodes on iOS simulator with configurable delay",
"args": [
{
"name": "delay",
"description": null
},
{
"name": "keyCodes",
"description": null
}
]
},
{
"name": "launch_app_device",
"description": "Launches an app on a connected device.",
"args": [
{
"name": "bundleId",
"description": "Bundle identifier of the app to launch (e.g., \"com.example.MyApp\")"
}
]
},
{
"name": "launch_app_logs_sim",
"description": "Launches an app in an iOS simulator and captures its logs.",
"args": [
{
"name": "args",
"description": "Additional arguments to pass to the app"
},
{
"name": "bundleId",
"description": "Bundle identifier of the app to launch (e.g., 'com.example.MyApp')"
}
]
},
{
"name": "launch_app_sim",
"description": "Launches an app in an iOS simulator.",
"args": [
{
"name": "args",
"description": "Additional arguments to pass to the app"
},
{
"name": "bundleId",
"description": "Bundle identifier of the app to launch (e.g., 'com.example.MyApp')"
}
]
},
{
"name": "launch_mac_app",
"description": "Launches a macOS application. IMPORTANT: You MUST provide the appPath parameter. Example: launch_mac_app({ appPath: '/path/to/your/app.app' }) Note: In some environments, this tool may be prefixed as mcp0_launch_macos_app.",
"args": [
{
"name": "appPath",
"description": "Path to the macOS .app bundle to launch (full path to the .app directory)"
},
{
"name": "args",
"description": "Additional arguments to pass to the app"
}
]
},
{
"name": "list_devices",
"description": "Lists connected physical Apple devices (iPhone, iPad, Apple Watch, Apple TV, Apple Vision Pro) with their UUIDs, names, and connection status. Use this to discover physical devices for testing.",
"args": []
},
{
"name": "list_schemes",
"description": "Lists schemes for a project or workspace.",
"args": []
},
{
"name": "list_sims",
"description": "Lists available iOS simulators with their UUIDs.",
"args": [
{
"name": "enabled",
"description": "Optional flag to enable the listing operation."
}
]
},
{
"name": "long_press",
"description": "Long press at specific coordinates for given duration (ms). Use snapshot_ui for precise coordinates (don't guess from screenshots).",
"args": [
{
"name": "duration",
"description": null
},
{
"name": "x",
"description": null
},
{
"name": "y",
"description": null
}
]
},
{
"name": "open_sim",
"description": "Opens the iOS Simulator app.",
"args": []
},
{
"name": "record_sim_video",
"description": "Starts or stops video capture for an iOS simulator.",
"args": [
{
"name": "fps",
"description": "Frames per second (default 30)"
},
{
"name": "outputFile",
"description": "Destination MP4 path to move the recorded video to on stop"
},
{
"name": "start",
"description": "Start recording if true"
},
{
"name": "stop",
"description": "Stop recording if true"
}
]
},
{
"name": "reset_sim_location",
"description": "Resets the simulator's location to default.",
"args": []
},
{
"name": "scaffold_ios_project",
"description": "Scaffold a new iOS project from templates. Creates a modern Xcode project with workspace structure, SPM package for features, and proper iOS configuration.",
"args": [
{
"name": "bundleIdentifier",
"description": "Bundle identifier (e.g., com.example.myapp). If not provided, will use com.example.projectname"
},
{
"name": "currentProjectVersion",
"description": "Build number (e.g., 1, 42, 100). If not provided, will use 1"
},
{
"name": "customizeNames",
"description": "Whether to customize project names and identifiers. Default is true."
},
{
"name": "deploymentTarget",
"description": "iOS deployment target (e.g., 18.4, 17.0). If not provided, will use 18.4"
},
{
"name": "displayName",
"description": "App display name (shown on home screen/dock). If not provided, will use projectName"
},
{
"name": "marketingVersion",
"description": "Marketing version (e.g., 1.0, 2.1.3). If not provided, will use 1.0"
},
{
"name": "outputPath",
"description": "Path where the project should be created"
},
{
"name": "projectName",
"description": "Name of the new project"
},
{
"name": "supportedOrientations",
"description": "Supported orientations for iPhone"
},
{
"name": "supportedOrientationsIpad",
"description": "Supported orientations for iPad"
},
{
"name": "targetedDeviceFamily",
"description": "Targeted device families"
}
]
},
{
"name": "scaffold_macos_project",
"description": "Scaffold a new macOS project from templates. Creates a modern Xcode project with workspace structure, SPM package for features, and proper macOS configuration.",
"args": [
{
"name": "bundleIdentifier",
"description": "Bundle identifier (e.g., com.example.myapp). If not provided, will use com.example.projectname"
},
{
"name": "currentProjectVersion",
"description": "Build number (e.g., 1, 42, 100). If not provided, will use 1"
},
{
"name": "customizeNames",
"description": "Whether to customize project names and identifiers. Default is true."
},
{
"name": "deploymentTarget",
"description": "macOS deployment target (e.g., 15.4, 14.0). If not provided, will use 15.4"
},
{
"name": "displayName",
"description": "App display name (shown on home screen/dock). If not provided, will use projectName"
},
{
"name": "marketingVersion",
"description": "Marketing version (e.g., 1.0, 2.1.3). If not provided, will use 1.0"
},
{
"name": "outputPath",
"description": "Path where the project should be created"
},
{
"name": "projectName",
"description": "Name of the new project"
}
]
},
{
"name": "screenshot",
"description": "Captures screenshot for visual verification. For UI coordinates, use snapshot_ui instead (don't determine coordinates from screenshots).",
"args": []
},
{
"name": "session-clear-defaults",
"description": "Clear selected or all session defaults.",
"args": [
{
"name": "all",
"description": null
},
{
"name": "keys",
"description": null
}
]
},
{
"name": "session-set-defaults",
"description": "Set the session defaults needed by many tools. Most tools require one or more session defaults to be set before they can be used. Agents should set all relevant defaults up front in a single call (e.g., project/workspace, scheme, simulator or device ID, useLatestOS) to avoid iterative prompts; only set the keys your workflow needs.",
"args": [
{
"name": "arch",
"description": "Target architecture for macOS builds."
},
{
"name": "configuration",
"description": "Build configuration, e.g. Debug or Release."
},
{
"name": "deviceId",
"description": "Physical device ID for device workflows."
},
{
"name": "projectPath",
"description": "Xcode project (.xcodeproj) path. Mutually exclusive with workspacePath. Required for most build/test tools when workspacePath is not set."
},
{
"name": "scheme",
"description": "Xcode scheme. Required by most build/test tools. Use list_schemes to discover available schemes before setting."
},
{
"name": "simulatorId",
"description": "Simulator UUID for simulator workflows. Preferred over simulatorName when both are provided."
},
{
"name": "simulatorName",
"description": "Simulator device name for simulator workflows. If simulatorId is also provided, simulatorId is preferred and simulatorName is ignored."
},
{
"name": "suppressWarnings",
"description": "When true, warning messages are filtered from build output to conserve context"
},
{
"name": "useLatestOS",
"description": "When true, prefer the latest available OS for simulatorName lookups."
},
{
"name": "workspacePath",
"description": "Xcode workspace (.xcworkspace) path. Mutually exclusive with projectPath. Required for most build/test tools when projectPath is not set."
}
]
},
{
"name": "session-show-defaults",
"description": "Show current session defaults.",
"args": []
},
{
"name": "set_sim_appearance",
"description": "Sets the appearance mode (dark/light) of an iOS simulator.",
"args": [
{
"name": "mode",
"description": "The appearance mode to set (either \"dark\" or \"light\")"
}
]
},
{
"name": "set_sim_location",
"description": "Sets a custom GPS location for the simulator.",
"args": [
{
"name": "latitude",
"description": "The latitude for the custom location."
},
{
"name": "longitude",
"description": "The longitude for the custom location."
}
]
},
{
"name": "show_build_settings",
"description": "Shows xcodebuild build settings.",
"args": []
},
{
"name": "sim_statusbar",
"description": "Sets the data network indicator in the iOS simulator status bar. Use \"clear\" to reset all overrides, or specify a network type (hide, wifi, 3g, 4g, lte, lte-a, lte+, 5g, 5g+, 5g-uwb, 5g-uc).",
"args": [
{
"name": "dataNetwork",
"description": "Data network type to display in status bar. Use \"clear\" to reset all overrides. Valid values: clear, hide, wifi, 3g, 4g, lte, lte-a, lte+, 5g, 5g+, 5g-uwb, 5g-uc."
}
]
},
{
"name": "start_device_log_cap",
"description": "Starts log capture on a connected device.",
"args": [
{
"name": "bundleId",
"description": "Bundle identifier of the app to launch and capture logs for."
}
]
},
{
"name": "start_sim_log_cap",
"description": "Starts capturing logs from a specified simulator. Returns a session ID. Use subsystemFilter to control what logs are captured: 'app' (default), 'all' (everything), 'swiftui' (includes Self._printChanges()), or custom subsystems.",
"args": [
{
"name": "bundleId",
"description": "Bundle identifier of the app to capture logs for."
},
{
"name": "captureConsole",
"description": "Whether to capture console output (requires app relaunch)."
},
{
"name": "subsystemFilter",
"description": "Controls which log subsystems to capture. Options: 'app' (default, only app logs), 'all' (capture all system logs), 'swiftui' (app + SwiftUI logs for Self._printChanges()), or an array of custom subsystem strings."
}
]
},
{
"name": "stop_app_device",
"description": "Stops a running app on a connected device.",
"args": [
{
"name": "processId",
"description": "Process ID (PID) of the app to stop"
}
]
},
{
"name": "stop_app_sim",
"description": "Stops an app running in an iOS simulator.",
"args": [
{
"name": "bundleId",
"description": "Bundle identifier of the app to stop (e.g., 'com.example.MyApp')"
}
]
},
{
"name": "stop_device_log_cap",
"description": "Stops an active Apple device log capture session and returns the captured logs.",
"args": [
{
"name": "logSessionId",
"description": "The session ID returned by start_device_log_cap."
}
]
},
{
"name": "stop_mac_app",
"description": "Stops a running macOS application. Can stop by app name or process ID.",
"args": [
{
"name": "appName",
"description": "Name of the application to stop (e.g., \"Calculator\" or \"MyApp\")"
},
{
"name": "processId",
"description": "Process ID (PID) of the application to stop"
}
]
},
{
"name": "stop_sim_log_cap",
"description": "Stops an active simulator log capture session and returns the captured logs.",
"args": [
{
"name": "logSessionId",
"description": "The session ID returned by start_sim_log_cap."
}
]
},
{
"name": "swift_package_build",
"description": "Builds a Swift Package with swift build",
"args": [
{
"name": "architectures",
"description": "Target architectures to build for"
},
{
"name": "configuration",
"description": "Swift package configuration (debug, release)"
},
{
"name": "packagePath",
"description": "Path to the Swift package root (Required)"
},
{
"name": "parseAsLibrary",
"description": "Build as library instead of executable"
},
{
"name": "targetName",
"description": "Optional target to build"
}
]
},
{
"name": "swift_package_clean",
"description": "Cleans Swift Package build artifacts and derived data",
"args": [
{
"name": "packagePath",
"description": "Path to the Swift package root (Required)"
}
]
},
{
"name": "swift_package_list",
"description": "Lists currently running Swift Package processes",
"args": []
},
{
"name": "swift_package_run",
"description": "Runs an executable target from a Swift Package with swift run",
"args": [
{
"name": "arguments",
"description": "Arguments to pass to the executable"
},
{
"name": "background",
"description": "Run in background and return immediately (default: false)"
},
{
"name": "configuration",
"description": "Build configuration: 'debug' (default) or 'release'"
},
{
"name": "executableName",
"description": "Name of executable to run (defaults to package name)"
},
{
"name": "packagePath",
"description": "Path to the Swift package root (Required)"
},
{
"name": "parseAsLibrary",
"description": "Add -parse-as-library flag for @main support (default: false)"
},
{
"name": "timeout",
"description": "Timeout in seconds (default: 30, max: 300)"
}
]
},
{
"name": "swift_package_stop",
"description": "Stops a running Swift Package executable started with swift_package_run",
"args": [
{
"name": "pid",
"description": "Process ID (PID) of the running executable"
}
]
},
{
"name": "swift_package_test",
"description": "Runs tests for a Swift Package with swift test",
"args": [
{
"name": "configuration",
"description": "Swift package configuration (debug, release)"
},
{
"name": "filter",
"description": "Filter tests by name (regex pattern)"
},
{
"name": "packagePath",
"description": "Path to the Swift package root (Required)"
},
{
"name": "parallel",
"description": "Run tests in parallel (default: true)"
},
{
"name": "parseAsLibrary",
"description": "Add -parse-as-library flag for @main support (default: false)"
},
{
"name": "showCodecov",
"description": "Show code coverage (default: false)"
},
{
"name": "testProduct",
"description": "Optional specific test product to run"
}
]
},
{
"name": "swipe",
"description": "Swipe between points.",
"args": [
{
"name": "delta",
"description": null
},
{
"name": "duration",
"description": null
},
{
"name": "postDelay",
"description": null
},
{
"name": "preDelay",
"description": null
},
{
"name": "x1",
"description": null
},
{
"name": "x2",
"description": null
},
{
"name": "y1",