sublime-mcp 1.8.8 → 1.9.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.
Files changed (2) hide show
  1. package/fallback-tools.json +1807 -95
  2. package/package.json +1 -1
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "_comment": "GENERATED FILE - do not edit. Produced by tools/generate_fallback_catalog.py from sublime_mcp.py::_MCP_TOOLS. Regenerate after changing the backend tool catalog.",
3
3
  "tools": [
4
+ {
5
+ "name": "add_directory",
6
+ "description": "Opens an OS dialog box to prompt for a folder to the 'Where' field in the 'Find in Files' panel. (WindowCommand) Opens a native OS dialog that blocks Sublime Text until it is dismissed.",
7
+ "inputSchema": {
8
+ "type": "object",
9
+ "properties": {}
10
+ }
11
+ },
4
12
  {
5
13
  "name": "add_folder",
6
14
  "description": "Add a folder to the current project.",
@@ -16,6 +24,18 @@
16
24
  ]
17
25
  }
18
26
  },
27
+ {
28
+ "name": "add_jump_record",
29
+ "description": "Allows packages/plugins to add a jump point without changing the selection. (TextCommand)",
30
+ "inputSchema": {
31
+ "type": "object",
32
+ "properties": {
33
+ "selection": {
34
+ "description": "The selection to be added to the jump history. Can be an integer, a list of 2 integers or a list of list of 2 integers."
35
+ }
36
+ }
37
+ }
38
+ },
19
39
  {
20
40
  "name": "add_missing_newline",
21
41
  "description": "Alias of ensure_newline_at_eof \u2014 add a trailing newline at EOF if absent.",
@@ -32,6 +52,56 @@
32
52
  "properties": {}
33
53
  }
34
54
  },
55
+ {
56
+ "name": "add_where_snippet",
57
+ "description": "Adds a snippet to the 'Where' field in the 'Find in Files' panel. (WindowCommand)",
58
+ "inputSchema": {
59
+ "type": "object",
60
+ "properties": {
61
+ "snippet": {
62
+ "type": "string",
63
+ "description": "The string to be inserted into the 'Where' field in the 'Find in Files' panel. Supports snippet like variables."
64
+ }
65
+ }
66
+ }
67
+ },
68
+ {
69
+ "name": "add_word",
70
+ "description": "Adds the given word to the 'added_words' setting in the user preferences. (TextCommand)",
71
+ "inputSchema": {
72
+ "type": "object",
73
+ "properties": {
74
+ "word": {
75
+ "type": "string",
76
+ "description": "The word to be added."
77
+ }
78
+ }
79
+ }
80
+ },
81
+ {
82
+ "name": "append",
83
+ "description": "Appends the given text string to the end of the buffer. (TextCommand)",
84
+ "inputSchema": {
85
+ "type": "object",
86
+ "properties": {
87
+ "characters": {
88
+ "type": "string",
89
+ "description": "The string to be appended to the end of the text buffer."
90
+ },
91
+ "force": {
92
+ "type": "boolean"
93
+ },
94
+ "scroll_to_end": {
95
+ "type": "boolean",
96
+ "description": "Whether to scroll to the end of the buffer after appending."
97
+ },
98
+ "disable_tab_translation": {
99
+ "type": "boolean",
100
+ "description": "Whether to disable translating tabs to spaces."
101
+ }
102
+ }
103
+ }
104
+ },
35
105
  {
36
106
  "name": "arithmetic",
37
107
  "description": "Evaluate the selected expression as arithmetic and replace it with the result (TextCommand). Select '2+2' to get '4'.",
@@ -40,6 +110,34 @@
40
110
  "properties": {}
41
111
  }
42
112
  },
113
+ {
114
+ "name": "auto_complete",
115
+ "description": "Shows the auto completion popup. (TextCommand)",
116
+ "inputSchema": {
117
+ "type": "object",
118
+ "properties": {
119
+ "api_completions_only": {
120
+ "type": "boolean",
121
+ "description": "Whether to include completions from snippets/completions file in the AC panel."
122
+ },
123
+ "disable_auto_insert": {
124
+ "type": "boolean"
125
+ },
126
+ "next_completion_if_showing": {
127
+ "type": "boolean"
128
+ },
129
+ "auto_complete_commit_on_tab": {
130
+ "type": "boolean"
131
+ },
132
+ "mini": {
133
+ "type": "boolean"
134
+ },
135
+ "default": {
136
+ "type": "string"
137
+ }
138
+ }
139
+ }
140
+ },
43
141
  {
44
142
  "name": "auto_complete_goto_definition",
45
143
  "description": "Auto-complete and goto the definition of the symbol under the cursor (TextCommand).",
@@ -48,6 +146,22 @@
48
146
  "properties": {}
49
147
  }
50
148
  },
149
+ {
150
+ "name": "auto_complete_open_link",
151
+ "description": "Opens the first link in the details pane of the AC panel, when the AC panel is visible. (TextCommand)",
152
+ "inputSchema": {
153
+ "type": "object",
154
+ "properties": {}
155
+ }
156
+ },
157
+ {
158
+ "name": "auto_complete_prev",
159
+ "description": "Goes to the previous entry in the AC panel, when the AC panel is visible. (TextCommand)",
160
+ "inputSchema": {
161
+ "type": "object",
162
+ "properties": {}
163
+ }
164
+ },
51
165
  {
52
166
  "name": "auto_indent",
53
167
  "description": "Apply auto-indentation to the current selection(s) using the active syntax's indentation rules.",
@@ -94,6 +208,69 @@
94
208
  ]
95
209
  }
96
210
  },
211
+ {
212
+ "name": "build",
213
+ "description": "Executes the provided build system or prompt for selection (select: true) and choose a default. build_system should be a resource path to a build system file or the name of a project-specific build system. (WindowCommand)",
214
+ "inputSchema": {
215
+ "type": "object",
216
+ "properties": {
217
+ "select": {
218
+ "type": "boolean",
219
+ "description": "Whether to prompt for selecting a build system."
220
+ },
221
+ "build_system": {
222
+ "type": "string",
223
+ "description": "A resource path to a .sublime-build file."
224
+ },
225
+ "variant": {
226
+ "type": "string",
227
+ "description": "The name of the variant present in the build system as specified by the 'name' key."
228
+ },
229
+ "choice_build_system": {
230
+ "type": "boolean"
231
+ },
232
+ "choice_variant": {
233
+ "type": "boolean"
234
+ }
235
+ }
236
+ }
237
+ },
238
+ {
239
+ "name": "cancel",
240
+ "description": "Runs the Sublime Text 'cancel' command. (WindowCommand)",
241
+ "inputSchema": {
242
+ "type": "object",
243
+ "properties": {}
244
+ }
245
+ },
246
+ {
247
+ "name": "cancel_build",
248
+ "description": "Cancels the currently running build. (WindowCommand)",
249
+ "inputSchema": {
250
+ "type": "object",
251
+ "properties": {}
252
+ }
253
+ },
254
+ {
255
+ "name": "cancel_find",
256
+ "description": "Cancels the Find panel, closing it. (WindowCommand)",
257
+ "inputSchema": {
258
+ "type": "object",
259
+ "properties": {}
260
+ }
261
+ },
262
+ {
263
+ "name": "chain",
264
+ "description": "Runs a given set of command(s) sequentially, along with their argument(s) if any. (WindowCommand)",
265
+ "inputSchema": {
266
+ "type": "object",
267
+ "properties": {
268
+ "commands": {
269
+ "description": "The list of commands and their respective arguments."
270
+ }
271
+ }
272
+ }
273
+ },
97
274
  {
98
275
  "name": "clear_bookmarks",
99
276
  "description": "Clear all bookmarks in the active view.",
@@ -110,6 +287,38 @@
110
287
  "properties": {}
111
288
  }
112
289
  },
290
+ {
291
+ "name": "clear_location",
292
+ "description": "Clears the 'Where' field in the Find in Files panel. (WindowCommand)",
293
+ "inputSchema": {
294
+ "type": "object",
295
+ "properties": {}
296
+ }
297
+ },
298
+ {
299
+ "name": "clear_missing_recent_projects_and_workspaces",
300
+ "description": "Clears any deleted projects or workspaces from the session. (WindowCommand)",
301
+ "inputSchema": {
302
+ "type": "object",
303
+ "properties": {}
304
+ }
305
+ },
306
+ {
307
+ "name": "clear_recent_files",
308
+ "description": "Clears the list of recently opened files. (WindowCommand)",
309
+ "inputSchema": {
310
+ "type": "object",
311
+ "properties": {}
312
+ }
313
+ },
314
+ {
315
+ "name": "clear_recent_projects_and_workspaces",
316
+ "description": "Clears the list of recently opened projects and workspaces. (WindowCommand)",
317
+ "inputSchema": {
318
+ "type": "object",
319
+ "properties": {}
320
+ }
321
+ },
113
322
  {
114
323
  "name": "clone_file",
115
324
  "description": "Create a clone of the active view (opens the same file in a new tab, sharing the buffer).",
@@ -118,6 +327,14 @@
118
327
  "properties": {}
119
328
  }
120
329
  },
330
+ {
331
+ "name": "close",
332
+ "description": "Closes the active view. (WindowCommand)",
333
+ "inputSchema": {
334
+ "type": "object",
335
+ "properties": {}
336
+ }
337
+ },
121
338
  {
122
339
  "name": "close_all",
123
340
  "description": "Close all open files/views in the current window.",
@@ -126,9 +343,39 @@
126
343
  "properties": {}
127
344
  }
128
345
  },
346
+ {
347
+ "name": "close_by_index",
348
+ "description": "Closes a view of the given group by it's index. (WindowCommand)",
349
+ "inputSchema": {
350
+ "type": "object",
351
+ "properties": {
352
+ "group": {
353
+ "type": "integer",
354
+ "description": "The index of the target group."
355
+ },
356
+ "index": {
357
+ "type": "integer",
358
+ "description": "The index within the target group."
359
+ }
360
+ }
361
+ }
362
+ },
363
+ {
364
+ "name": "close_deleted_files",
365
+ "description": "Closes all views into deleted files. (WindowCommand)",
366
+ "inputSchema": {
367
+ "type": "object",
368
+ "properties": {
369
+ "group": {
370
+ "type": "integer",
371
+ "description": "The index of the target group."
372
+ }
373
+ }
374
+ }
375
+ },
129
376
  {
130
377
  "name": "close_file",
131
- "description": "Close a file by path, or close the active file if path is omitted.",
378
+ "description": "Close a file by path, or close the active file if path is omitted. Routed through Sublime's real close command (not a direct API call), so a host-side close-blocking hook gets a chance to run -- e.g. GhostShell's ai_terminal package refuses this outright (no dialog, just a no-op) for any ai_terminal tab, so calling this on one does nothing rather than closing it. Only ever targets an already-open view found by path or the current active view -- it cannot target an unsaved/path-less tab (like an ai_terminal tab) by index; do not call this expecting it to close 'whatever tab you mean' when no path resolves.",
132
379
  "inputSchema": {
133
380
  "type": "object",
134
381
  "properties": {
@@ -139,6 +386,14 @@
139
386
  }
140
387
  }
141
388
  },
389
+ {
390
+ "name": "close_folder_list",
391
+ "description": "Removes all the folder(s) from the sidebar and hides it. (WindowCommand)",
392
+ "inputSchema": {
393
+ "type": "object",
394
+ "properties": {}
395
+ }
396
+ },
142
397
  {
143
398
  "name": "close_other_tabs",
144
399
  "description": "Alias of close_others \u2014 close all views in the current group except the active one.",
@@ -155,6 +410,23 @@
155
410
  "properties": {}
156
411
  }
157
412
  },
413
+ {
414
+ "name": "close_others_by_index",
415
+ "description": "Closes all views of a group but the one identified by group and index. (WindowCommand)",
416
+ "inputSchema": {
417
+ "type": "object",
418
+ "properties": {
419
+ "group": {
420
+ "type": "integer",
421
+ "description": "The index of the target group."
422
+ },
423
+ "index": {
424
+ "type": "integer",
425
+ "description": "The index within the target group."
426
+ }
427
+ }
428
+ }
429
+ },
158
430
  {
159
431
  "name": "close_pane",
160
432
  "description": "Close the current pane/group and all views inside it.",
@@ -163,6 +435,52 @@
163
435
  "properties": {}
164
436
  }
165
437
  },
438
+ {
439
+ "name": "close_selected",
440
+ "description": "Closes all selected views in a group. (WindowCommand)",
441
+ "inputSchema": {
442
+ "type": "object",
443
+ "properties": {
444
+ "group": {
445
+ "type": "integer",
446
+ "description": "The index of the target group."
447
+ },
448
+ "index": {
449
+ "type": "integer",
450
+ "description": "The index within the target group."
451
+ }
452
+ }
453
+ }
454
+ },
455
+ {
456
+ "name": "close_tag",
457
+ "description": "Close an HTML/XML tag. (WindowCommand)",
458
+ "inputSchema": {
459
+ "type": "object",
460
+ "properties": {
461
+ "insert_slash": {
462
+ "type": "boolean"
463
+ }
464
+ }
465
+ }
466
+ },
467
+ {
468
+ "name": "close_to_right_by_index",
469
+ "description": "Closes all views of a group right of the one identified by index. (WindowCommand)",
470
+ "inputSchema": {
471
+ "type": "object",
472
+ "properties": {
473
+ "group": {
474
+ "type": "integer",
475
+ "description": "The index of the target group."
476
+ },
477
+ "index": {
478
+ "type": "integer",
479
+ "description": "The index within the target group."
480
+ }
481
+ }
482
+ }
483
+ },
166
484
  {
167
485
  "name": "close_transient",
168
486
  "description": "Close all transient views (preview tabs) in the current window.",
@@ -179,6 +497,85 @@
179
497
  "properties": {}
180
498
  }
181
499
  },
500
+ {
501
+ "name": "close_unmodified_to_right_by_index",
502
+ "description": "Closes all unmodified views of a group right of the one identified by index. (WindowCommand)",
503
+ "inputSchema": {
504
+ "type": "object",
505
+ "properties": {
506
+ "group": {
507
+ "type": "integer",
508
+ "description": "The index of the target group."
509
+ },
510
+ "index": {
511
+ "type": "integer",
512
+ "description": "The index within the target group."
513
+ }
514
+ }
515
+ }
516
+ },
517
+ {
518
+ "name": "close_unselected",
519
+ "description": "Closes all unselected views in a group. (WindowCommand)",
520
+ "inputSchema": {
521
+ "type": "object",
522
+ "properties": {
523
+ "group": {
524
+ "type": "integer",
525
+ "description": "The index of the target group."
526
+ },
527
+ "index": {
528
+ "type": "integer",
529
+ "description": "The index within the target group."
530
+ }
531
+ }
532
+ }
533
+ },
534
+ {
535
+ "name": "close_window",
536
+ "description": "Closes the active window. (WindowCommand) Warning: closes the active window (unsaved buffers may prompt).",
537
+ "inputSchema": {
538
+ "type": "object",
539
+ "properties": {}
540
+ }
541
+ },
542
+ {
543
+ "name": "close_workspace",
544
+ "description": "Closes the active workspace. (WindowCommand)",
545
+ "inputSchema": {
546
+ "type": "object",
547
+ "properties": {}
548
+ }
549
+ },
550
+ {
551
+ "name": "commit_completion",
552
+ "description": "Inserts the selected completion into the text and closes the AC panel. (TextCommand)",
553
+ "inputSchema": {
554
+ "type": "object",
555
+ "properties": {}
556
+ }
557
+ },
558
+ {
559
+ "name": "console_python_version",
560
+ "description": "Switches the python interpreter version in console input. (WindowCommand)",
561
+ "inputSchema": {
562
+ "type": "object",
563
+ "properties": {
564
+ "version": {
565
+ "type": "string",
566
+ "description": "The version of the python interpreter. Valid values are '3.3' or '3.8'."
567
+ }
568
+ }
569
+ }
570
+ },
571
+ {
572
+ "name": "context_menu",
573
+ "description": "Shows the context menu for the current view. (WindowCommand)",
574
+ "inputSchema": {
575
+ "type": "object",
576
+ "properties": {}
577
+ }
578
+ },
182
579
  {
183
580
  "name": "convert_color_scheme",
184
581
  "description": "Convert a .sublime-color-scheme file to JSON for editing (WindowCommand).",
@@ -224,6 +621,21 @@
224
621
  "properties": {}
225
622
  }
226
623
  },
624
+ {
625
+ "name": "copy_as_html",
626
+ "description": "Copies the contents of the current view as rich HTML to the system clipboard. (TextCommand)",
627
+ "inputSchema": {
628
+ "type": "object",
629
+ "properties": {
630
+ "enclosing_tags": {
631
+ "type": "boolean"
632
+ },
633
+ "font_size": {
634
+ "type": "boolean"
635
+ }
636
+ }
637
+ }
638
+ },
227
639
  {
228
640
  "name": "copy_path",
229
641
  "description": "Copy the active file's path to the clipboard (WindowCommand).",
@@ -232,6 +644,27 @@
232
644
  "properties": {}
233
645
  }
234
646
  },
647
+ {
648
+ "name": "correct_spelling",
649
+ "description": "Corrects the incorrectly spelled word based on the incorrect word's region and the correction. (TextCommand)",
650
+ "inputSchema": {
651
+ "type": "object",
652
+ "properties": {
653
+ "begin": {
654
+ "type": "integer",
655
+ "description": "The integer that represents the beginning of the region that spans the incorrect word."
656
+ },
657
+ "end": {
658
+ "type": "integer",
659
+ "description": "The integer that represents the end of the region that spans the incorrect word."
660
+ },
661
+ "correction": {
662
+ "type": "string",
663
+ "description": "The string to be placed as a correction for the incorrect word."
664
+ }
665
+ }
666
+ }
667
+ },
235
668
  {
236
669
  "name": "customize_color_scheme",
237
670
  "description": "Open the active color scheme for customization (WindowCommand).",
@@ -256,6 +689,48 @@
256
689
  "properties": {}
257
690
  }
258
691
  },
692
+ {
693
+ "name": "decrease_font_size",
694
+ "description": "Increases the global font size. (ApplicationCommand)",
695
+ "inputSchema": {
696
+ "type": "object",
697
+ "properties": {}
698
+ }
699
+ },
700
+ {
701
+ "name": "delete_file",
702
+ "description": "Deletes the given file(s) by moving the file(s) to the system trash/recycle bin. (WindowCommand) Warning: moves the file(s) to the recycle bin.",
703
+ "inputSchema": {
704
+ "type": "object",
705
+ "properties": {
706
+ "files": {
707
+ "type": "array",
708
+ "description": "The absolute path(s) to the given file(s) on disk."
709
+ },
710
+ "prompt": {
711
+ "type": "boolean",
712
+ "description": "Whether to prompt the user to confirm the deletion by showing a dialog box."
713
+ }
714
+ }
715
+ }
716
+ },
717
+ {
718
+ "name": "delete_folder",
719
+ "description": "Deletes the given folder(s) by moving the folder(s) to the system trash bin. (WindowCommand) Warning: moves the folder(s) to the recycle bin.",
720
+ "inputSchema": {
721
+ "type": "object",
722
+ "properties": {
723
+ "dirs": {
724
+ "type": "array",
725
+ "description": "The absolute path(s) to the given folder(s) on disk."
726
+ },
727
+ "prompt": {
728
+ "type": "boolean",
729
+ "description": "Whether to prompt the user to confirm the deletion by showing a dialog box."
730
+ }
731
+ }
732
+ }
733
+ },
259
734
  {
260
735
  "name": "delete_to_mark",
261
736
  "description": "Delete the text between the cursor and the previously set mark (TextCommand).",
@@ -264,6 +739,23 @@
264
739
  "properties": {}
265
740
  }
266
741
  },
742
+ {
743
+ "name": "delete_word",
744
+ "description": "Deletes the (sub-)word in front of or after each caret. (TextCommand)",
745
+ "inputSchema": {
746
+ "type": "object",
747
+ "properties": {
748
+ "forward": {
749
+ "type": "boolean",
750
+ "description": "Whether the forward (sub-)word should be deleted."
751
+ },
752
+ "sub_words": {
753
+ "type": "boolean",
754
+ "description": "Whether to delete subwords."
755
+ }
756
+ }
757
+ }
758
+ },
267
759
  {
268
760
  "name": "detect_indentation",
269
761
  "description": "Auto-detect the file's indentation style (tabs vs spaces, width) and set the view's indent settings accordingly.",
@@ -300,6 +792,31 @@
300
792
  ]
301
793
  }
302
794
  },
795
+ {
796
+ "name": "drag_select",
797
+ "description": "Runs the Sublime Text 'drag_select' command. (TextCommand)",
798
+ "inputSchema": {
799
+ "type": "object",
800
+ "properties": {
801
+ "by": {
802
+ "type": "string",
803
+ "description": "The mode of selection. Valid values are 'words', 'columns' and 'lines'."
804
+ },
805
+ "event": {
806
+ "type": "object",
807
+ "description": "An object that consists of the x & y window coordinates & the button detail via the button key."
808
+ },
809
+ "additive": {
810
+ "type": "boolean",
811
+ "description": "Whether to add the selection to the existing selection(s)."
812
+ },
813
+ "subtractive": {
814
+ "type": "boolean",
815
+ "description": "Whether to remove the existing selection(s) before adding the new selection."
816
+ }
817
+ }
818
+ }
819
+ },
303
820
  {
304
821
  "name": "drive_input_panel",
305
822
  "description": "Fill and/or submit or cancel Sublime's currently open input panel (window.show_input_panel), e.g. a package's 'Enter a path...' prompt.\nInput panels have no reachable View through normal APIs and Enter is a native keybinding, not a scriptable insert -- this reaches both, and works even when the panel belongs to a legacy Python 3.3-hosted package in a different plugin_host process, since it drives the panel through Sublime's own built-in commands rather than that package's code.\ntext (optional): replace the panel's current content before acting. action: 'submit' (default, fires on_done) or 'cancel' (fires on_cancel). Errors if no input panel is currently open.",
@@ -362,6 +879,14 @@
362
879
  "properties": {}
363
880
  }
364
881
  },
882
+ {
883
+ "name": "encode_html_entities",
884
+ "description": "Runs the Sublime Text 'encode_html_entities' command. (TextCommand)",
885
+ "inputSchema": {
886
+ "type": "object",
887
+ "properties": {}
888
+ }
889
+ },
365
890
  {
366
891
  "name": "ensure_newline_at_eof",
367
892
  "description": "Ensure the file ends with a single trailing newline (add one if missing).",
@@ -424,6 +949,14 @@
424
949
  }
425
950
  }
426
951
  },
952
+ {
953
+ "name": "exit",
954
+ "description": "Closes all windows and exists the application. (ApplicationCommand) Warning: quits Sublime Text, which also stops this MCP server.",
955
+ "inputSchema": {
956
+ "type": "object",
957
+ "properties": {}
958
+ }
959
+ },
427
960
  {
428
961
  "name": "expand_selection",
429
962
  "description": "Expand the current selection to the next semantic boundary (Ctrl+Shift+A). Repeated calls expand further: word \u2192 brackets \u2192 line \u2192 paragraph \u2192 scope.",
@@ -441,32 +974,61 @@
441
974
  }
442
975
  },
443
976
  {
444
- "name": "expand_selection_to_indentation",
445
- "description": "Expand the current selection to the surrounding indentation block.",
977
+ "name": "expand_selection_to_indentation",
978
+ "description": "Expand the current selection to the surrounding indentation block.",
979
+ "inputSchema": {
980
+ "type": "object",
981
+ "properties": {}
982
+ }
983
+ },
984
+ {
985
+ "name": "expand_selection_to_paragraph",
986
+ "description": "Expand the current selection to the surrounding paragraph.",
987
+ "inputSchema": {
988
+ "type": "object",
989
+ "properties": {}
990
+ }
991
+ },
992
+ {
993
+ "name": "expand_selection_to_scope",
994
+ "description": "Expand the current selection to the enclosing syntax scope.",
995
+ "inputSchema": {
996
+ "type": "object",
997
+ "properties": {}
998
+ }
999
+ },
1000
+ {
1001
+ "name": "expand_snippet",
1002
+ "description": "Expands the snippet under the cursor. (TextCommand)",
446
1003
  "inputSchema": {
447
1004
  "type": "object",
448
1005
  "properties": {}
449
1006
  }
450
1007
  },
451
1008
  {
452
- "name": "expand_selection_to_paragraph",
453
- "description": "Expand the current selection to the surrounding paragraph.",
1009
+ "name": "expand_tabs",
1010
+ "description": "Convert leading tabs in the current selection (or whole file) to spaces, using the view's tab_size.",
454
1011
  "inputSchema": {
455
1012
  "type": "object",
456
1013
  "properties": {}
457
1014
  }
458
1015
  },
459
1016
  {
460
- "name": "expand_selection_to_scope",
461
- "description": "Expand the current selection to the enclosing syntax scope.",
1017
+ "name": "find_all",
1018
+ "description": "Finds all the tokens which match the find pattern. (WindowCommand)",
462
1019
  "inputSchema": {
463
1020
  "type": "object",
464
- "properties": {}
1021
+ "properties": {
1022
+ "close_panel": {
1023
+ "type": "boolean",
1024
+ "description": "Whether to close the Find panel after executing the Find All option. This argument holds good only for the Find & Replace panel."
1025
+ }
1026
+ }
465
1027
  }
466
1028
  },
467
1029
  {
468
- "name": "expand_tabs",
469
- "description": "Convert leading tabs in the current selection (or whole file) to spaces, using the view's tab_size.",
1030
+ "name": "find_all_under",
1031
+ "description": "Searches and selects all text matches, which are the same as the selected text or the word under the caret. (TextCommand)",
470
1032
  "inputSchema": {
471
1033
  "type": "object",
472
1034
  "properties": {}
@@ -609,6 +1171,67 @@
609
1171
  ]
610
1172
  }
611
1173
  },
1174
+ {
1175
+ "name": "find_next",
1176
+ "description": "Jumps to the next occurrence of the text or pattern in the find buffer. (TextCommand)",
1177
+ "inputSchema": {
1178
+ "type": "object",
1179
+ "properties": {}
1180
+ }
1181
+ },
1182
+ {
1183
+ "name": "find_prev",
1184
+ "description": "Jumps to the previous occurrence of the text or pattern in the find buffer. (TextCommand)",
1185
+ "inputSchema": {
1186
+ "type": "object",
1187
+ "properties": {}
1188
+ }
1189
+ },
1190
+ {
1191
+ "name": "find_under",
1192
+ "description": "Finds the next occurrence of the current selection or the current word. (TextCommand)",
1193
+ "inputSchema": {
1194
+ "type": "object",
1195
+ "properties": {}
1196
+ }
1197
+ },
1198
+ {
1199
+ "name": "find_under_expand",
1200
+ "description": "Adds a new selection based on the current selection or expands the selection to the current word. (TextCommand)",
1201
+ "inputSchema": {
1202
+ "type": "object",
1203
+ "properties": {}
1204
+ }
1205
+ },
1206
+ {
1207
+ "name": "find_under_expand_skip",
1208
+ "description": "Adds a new selection based on the current selection or expands the selection to the current word while removing the current selection. (TextCommand)",
1209
+ "inputSchema": {
1210
+ "type": "object",
1211
+ "properties": {}
1212
+ }
1213
+ },
1214
+ {
1215
+ "name": "find_under_prev",
1216
+ "description": "Finds the previous occurrence of the current selection or the current word. (TextCommand)",
1217
+ "inputSchema": {
1218
+ "type": "object",
1219
+ "properties": {}
1220
+ }
1221
+ },
1222
+ {
1223
+ "name": "focus_by_index",
1224
+ "description": "Focus one of multiple selected views in the active group by its index. (WindowCommand)",
1225
+ "inputSchema": {
1226
+ "type": "object",
1227
+ "properties": {
1228
+ "index": {
1229
+ "type": "integer",
1230
+ "description": "The index number of the view to be focussed."
1231
+ }
1232
+ }
1233
+ }
1234
+ },
612
1235
  {
613
1236
  "name": "focus_group",
614
1237
  "description": "Move focus to a pane group by 0-based index.",
@@ -648,6 +1271,14 @@
648
1271
  }
649
1272
  }
650
1273
  },
1274
+ {
1275
+ "name": "focus_side_bar",
1276
+ "description": "Focus the sidebar to enable navigation by keyboard. (WindowCommand)",
1277
+ "inputSchema": {
1278
+ "type": "object",
1279
+ "properties": {}
1280
+ }
1281
+ },
651
1282
  {
652
1283
  "name": "focus_to_left",
653
1284
  "description": "Move input focus to the selected sheet on the left.",
@@ -664,6 +1295,35 @@
664
1295
  "properties": {}
665
1296
  }
666
1297
  },
1298
+ {
1299
+ "name": "fold",
1300
+ "description": "Runs the Sublime Text 'fold' command. (TextCommand)",
1301
+ "inputSchema": {
1302
+ "type": "object",
1303
+ "properties": {}
1304
+ }
1305
+ },
1306
+ {
1307
+ "name": "fold_all",
1308
+ "description": "Runs the Sublime Text 'fold_all' command. (TextCommand)",
1309
+ "inputSchema": {
1310
+ "type": "object",
1311
+ "properties": {}
1312
+ }
1313
+ },
1314
+ {
1315
+ "name": "fold_by_level",
1316
+ "description": "Folds all the code at a given indentation level. (TextCommand)",
1317
+ "inputSchema": {
1318
+ "type": "object",
1319
+ "properties": {
1320
+ "level": {
1321
+ "type": "integer",
1322
+ "description": "The indentation level of the code."
1323
+ }
1324
+ }
1325
+ }
1326
+ },
667
1327
  {
668
1328
  "name": "fold_lines",
669
1329
  "description": "Fold (collapse) lines begin through end (1-based) in the active file.",
@@ -683,6 +1343,14 @@
683
1343
  ]
684
1344
  }
685
1345
  },
1346
+ {
1347
+ "name": "fold_tag_attributes",
1348
+ "description": "Fold(s) the html/xml tag attributes. (TextCommand)",
1349
+ "inputSchema": {
1350
+ "type": "object",
1351
+ "properties": {}
1352
+ }
1353
+ },
686
1354
  {
687
1355
  "name": "fold_unfold",
688
1356
  "description": "Toggle the fold state of the region at the cursor (TextCommand). Collapses or expands the enclosing code block.",
@@ -1165,6 +1833,58 @@
1165
1833
  "properties": {}
1166
1834
  }
1167
1835
  },
1836
+ {
1837
+ "name": "goto_symbol_in_project",
1838
+ "description": "Open the Goto Symbol In Project quick panel. (WindowCommand)",
1839
+ "inputSchema": {
1840
+ "type": "object",
1841
+ "properties": {}
1842
+ }
1843
+ },
1844
+ {
1845
+ "name": "hide_auto_complete",
1846
+ "description": "Hides the AC popup, if visible. (TextCommand)",
1847
+ "inputSchema": {
1848
+ "type": "object",
1849
+ "properties": {}
1850
+ }
1851
+ },
1852
+ {
1853
+ "name": "hide_overlay",
1854
+ "description": "Hides the currently visible overlay. (WindowCommand)",
1855
+ "inputSchema": {
1856
+ "type": "object",
1857
+ "properties": {}
1858
+ }
1859
+ },
1860
+ {
1861
+ "name": "hide_panel",
1862
+ "description": "Hides the currently visible panel. (WindowCommand)",
1863
+ "inputSchema": {
1864
+ "type": "object",
1865
+ "properties": {
1866
+ "cancel": {
1867
+ "type": "boolean"
1868
+ }
1869
+ }
1870
+ }
1871
+ },
1872
+ {
1873
+ "name": "hide_popup",
1874
+ "description": "Hides the popup window, if visible. (TextCommand)",
1875
+ "inputSchema": {
1876
+ "type": "object",
1877
+ "properties": {}
1878
+ }
1879
+ },
1880
+ {
1881
+ "name": "hot_exit",
1882
+ "description": "Saves the session and exits the application even if the 'hot_exit' setting is disabled in preferences. (ApplicationCommand) Warning: quits Sublime Text, which also stops this MCP server.",
1883
+ "inputSchema": {
1884
+ "type": "object",
1885
+ "properties": {}
1886
+ }
1887
+ },
1168
1888
  {
1169
1889
  "name": "html_print",
1170
1890
  "description": "Open the current file as HTML for printing (TextCommand). Equivalent to File > Print.",
@@ -1173,6 +1893,27 @@
1173
1893
  "properties": {}
1174
1894
  }
1175
1895
  },
1896
+ {
1897
+ "name": "ignore_word",
1898
+ "description": "Adds the given word to the ignored_words setting. (TextCommand)",
1899
+ "inputSchema": {
1900
+ "type": "object",
1901
+ "properties": {
1902
+ "word": {
1903
+ "type": "string",
1904
+ "description": "The word to be ignored."
1905
+ }
1906
+ }
1907
+ }
1908
+ },
1909
+ {
1910
+ "name": "increase_font_size",
1911
+ "description": "Increases the global font size. (ApplicationCommand)",
1912
+ "inputSchema": {
1913
+ "type": "object",
1914
+ "properties": {}
1915
+ }
1916
+ },
1176
1917
  {
1177
1918
  "name": "indent",
1178
1919
  "description": "Indent the current selection(s) by one indentation level (Tab when there is a selection).",
@@ -1267,6 +2008,14 @@
1267
2008
  "properties": {}
1268
2009
  }
1269
2010
  },
2011
+ {
2012
+ "name": "left_delete",
2013
+ "description": "Deletes the character(s) to the left of the text selection caret(s). (TextCommand)",
2014
+ "inputSchema": {
2015
+ "type": "object",
2016
+ "properties": {}
2017
+ }
2018
+ },
1270
2019
  {
1271
2020
  "name": "lookup_symbol",
1272
2021
  "description": "Find where a symbol is defined across all open files.",
@@ -1298,6 +2047,37 @@
1298
2047
  "properties": {}
1299
2048
  }
1300
2049
  },
2050
+ {
2051
+ "name": "move",
2052
+ "description": "Moves the selection caret(s) by the specified unit. (TextCommand)",
2053
+ "inputSchema": {
2054
+ "type": "object",
2055
+ "properties": {
2056
+ "by": {
2057
+ "type": "string",
2058
+ "description": "The unit name. Valid values are 'chars', 'pages', 'lines', 'characters', 'words', 'word_ends', 'subwords', 'subword_ends' and 'stops'."
2059
+ },
2060
+ "empty_line": {
2061
+ "type": "boolean"
2062
+ },
2063
+ "forward": {
2064
+ "type": "boolean",
2065
+ "description": "Whether to move in the forward direction."
2066
+ },
2067
+ "extend": {
2068
+ "type": "boolean",
2069
+ "description": "Whether to extend the selection as the caret(s) move."
2070
+ },
2071
+ "lines": {
2072
+ "type": "boolean"
2073
+ },
2074
+ "ignore_auto_complete": {
2075
+ "type": "boolean",
2076
+ "description": "Whether to skip navigating the AC items when the AC is open."
2077
+ }
2078
+ }
2079
+ }
2080
+ },
1301
2081
  {
1302
2082
  "name": "move_line_down",
1303
2083
  "description": "Move the current line(s) down by one line.",
@@ -1354,6 +2134,36 @@
1354
2134
  ]
1355
2135
  }
1356
2136
  },
2137
+ {
2138
+ "name": "move_to",
2139
+ "description": "Moves the selection caret(s) to the specified relative location. (TextCommand)",
2140
+ "inputSchema": {
2141
+ "type": "object",
2142
+ "properties": {
2143
+ "to": {
2144
+ "type": "string",
2145
+ "description": "The relative location. Valid values are 'eol', 'bol', 'eof', 'bof' and 'brackets'."
2146
+ },
2147
+ "extend": {
2148
+ "type": "boolean",
2149
+ "description": "Whether to extend the selection while moving to the specified relative location."
2150
+ }
2151
+ }
2152
+ }
2153
+ },
2154
+ {
2155
+ "name": "move_to_group",
2156
+ "description": "Moves the active tab to the specified layout group. (WindowCommand)",
2157
+ "inputSchema": {
2158
+ "type": "object",
2159
+ "properties": {
2160
+ "group": {
2161
+ "type": "integer",
2162
+ "description": "The index of the target group."
2163
+ }
2164
+ }
2165
+ }
2166
+ },
1357
2167
  {
1358
2168
  "name": "move_to_neighboring_group",
1359
2169
  "description": "Move the active view to the neighboring pane group.",
@@ -1380,87 +2190,143 @@
1380
2190
  }
1381
2191
  },
1382
2192
  {
1383
- "name": "new_build_system",
1384
- "description": "Create a new build system file (WindowCommand).",
2193
+ "name": "new_build_system",
2194
+ "description": "Create a new build system file (WindowCommand).",
2195
+ "inputSchema": {
2196
+ "type": "object",
2197
+ "properties": {}
2198
+ }
2199
+ },
2200
+ {
2201
+ "name": "new_file",
2202
+ "description": "Create a new untitled file in the current window (File \u2192 New File).",
2203
+ "inputSchema": {
2204
+ "type": "object",
2205
+ "properties": {}
2206
+ }
2207
+ },
2208
+ {
2209
+ "name": "new_file_at",
2210
+ "description": "Create a new file at the given path (WindowCommand). Pass 'path' in args.",
2211
+ "inputSchema": {
2212
+ "type": "object",
2213
+ "properties": {
2214
+ "path": {
2215
+ "type": "string"
2216
+ }
2217
+ },
2218
+ "required": [
2219
+ "path"
2220
+ ]
2221
+ }
2222
+ },
2223
+ {
2224
+ "name": "new_folder",
2225
+ "description": "Create a new folder in the current project (WindowCommand).",
2226
+ "inputSchema": {
2227
+ "type": "object",
2228
+ "properties": {}
2229
+ }
2230
+ },
2231
+ {
2232
+ "name": "new_os_tab",
2233
+ "description": "Creates a new empty window in the os tab. (WindowCommand)",
2234
+ "inputSchema": {
2235
+ "type": "object",
2236
+ "properties": {}
2237
+ }
2238
+ },
2239
+ {
2240
+ "name": "new_pane",
2241
+ "description": "Create a new pane in the active window (WindowCommand).",
2242
+ "inputSchema": {
2243
+ "type": "object",
2244
+ "properties": {}
2245
+ }
2246
+ },
2247
+ {
2248
+ "name": "new_plugin",
2249
+ "description": "Create a new plugin file in Packages/User (WindowCommand).",
2250
+ "inputSchema": {
2251
+ "type": "object",
2252
+ "properties": {}
2253
+ }
2254
+ },
2255
+ {
2256
+ "name": "new_snippet",
2257
+ "description": "Create a new snippet file in Packages/User (WindowCommand).",
1385
2258
  "inputSchema": {
1386
2259
  "type": "object",
1387
2260
  "properties": {}
1388
2261
  }
1389
2262
  },
1390
2263
  {
1391
- "name": "new_file",
1392
- "description": "Create a new untitled file in the current window (File \u2192 New File).",
2264
+ "name": "new_syntax",
2265
+ "description": "Create a new syntax definition file in Packages/User (WindowCommand).",
1393
2266
  "inputSchema": {
1394
2267
  "type": "object",
1395
2268
  "properties": {}
1396
2269
  }
1397
2270
  },
1398
2271
  {
1399
- "name": "new_file_at",
1400
- "description": "Create a new file at the given path (WindowCommand). Pass 'path' in args.",
2272
+ "name": "new_view",
2273
+ "description": "Create a new untitled view/tab in the current window. Alias of new_file.",
1401
2274
  "inputSchema": {
1402
2275
  "type": "object",
1403
- "properties": {
1404
- "path": {
1405
- "type": "string"
1406
- }
1407
- },
1408
- "required": [
1409
- "path"
1410
- ]
2276
+ "properties": {}
1411
2277
  }
1412
2278
  },
1413
2279
  {
1414
- "name": "new_folder",
1415
- "description": "Create a new folder in the current project (WindowCommand).",
2280
+ "name": "new_window",
2281
+ "description": "Opens a new ST window. (ApplicationCommand)",
1416
2282
  "inputSchema": {
1417
2283
  "type": "object",
1418
2284
  "properties": {}
1419
2285
  }
1420
2286
  },
1421
2287
  {
1422
- "name": "new_pane",
1423
- "description": "Create a new pane in the active window (WindowCommand).",
2288
+ "name": "new_window_for_project",
2289
+ "description": "Clones the project into a new workspace. (WindowCommand)",
1424
2290
  "inputSchema": {
1425
2291
  "type": "object",
1426
2292
  "properties": {}
1427
2293
  }
1428
2294
  },
1429
2295
  {
1430
- "name": "new_plugin",
1431
- "description": "Create a new plugin file in Packages/User (WindowCommand).",
2296
+ "name": "next_bookmark",
2297
+ "description": "Move the cursor to the next bookmark in the active view.",
1432
2298
  "inputSchema": {
1433
2299
  "type": "object",
1434
2300
  "properties": {}
1435
2301
  }
1436
2302
  },
1437
2303
  {
1438
- "name": "new_snippet",
1439
- "description": "Create a new snippet file in Packages/User (WindowCommand).",
2304
+ "name": "next_field",
2305
+ "description": "Navigate to the next field in the snippet. (TextCommand)",
1440
2306
  "inputSchema": {
1441
2307
  "type": "object",
1442
2308
  "properties": {}
1443
2309
  }
1444
2310
  },
1445
2311
  {
1446
- "name": "new_syntax",
1447
- "description": "Create a new syntax definition file in Packages/User (WindowCommand).",
2312
+ "name": "next_misspelling",
2313
+ "description": "Navigate to the next misspelling in the document. (TextCommand)",
1448
2314
  "inputSchema": {
1449
2315
  "type": "object",
1450
2316
  "properties": {}
1451
2317
  }
1452
2318
  },
1453
2319
  {
1454
- "name": "new_view",
1455
- "description": "Create a new untitled view/tab in the current window. Alias of new_file.",
2320
+ "name": "next_modification",
2321
+ "description": "Navigate to the next modification in the document. (TextCommand)",
1456
2322
  "inputSchema": {
1457
2323
  "type": "object",
1458
2324
  "properties": {}
1459
2325
  }
1460
2326
  },
1461
2327
  {
1462
- "name": "next_bookmark",
1463
- "description": "Move the cursor to the next bookmark in the active view.",
2328
+ "name": "next_os_tab",
2329
+ "description": "Set the focus to the next window in the os tab. (WindowCommand)",
1464
2330
  "inputSchema": {
1465
2331
  "type": "object",
1466
2332
  "properties": {}
@@ -1498,6 +2364,14 @@
1498
2364
  "properties": {}
1499
2365
  }
1500
2366
  },
2367
+ {
2368
+ "name": "noop",
2369
+ "description": "A non existent command. Use this if you want to unbind any particular key binding & release it to the OS (ST 4117+). (WindowCommand)",
2370
+ "inputSchema": {
2371
+ "type": "object",
2372
+ "properties": {}
2373
+ }
2374
+ },
1501
2375
  {
1502
2376
  "name": "old_expand_selection_to_paragraph",
1503
2377
  "description": "Expand the selection to the surrounding paragraph (legacy TextCommand, kept for compatibility).",
@@ -1543,6 +2417,23 @@
1543
2417
  "properties": {}
1544
2418
  }
1545
2419
  },
2420
+ {
2421
+ "name": "open_dir",
2422
+ "description": "Opens the specified dir in the default file manager application, optionally highlighting the specified file. (WindowCommand)",
2423
+ "inputSchema": {
2424
+ "type": "object",
2425
+ "properties": {
2426
+ "dir": {
2427
+ "type": "string",
2428
+ "description": "The absolute path to the directory to be opened in the default file manager application."
2429
+ },
2430
+ "file": {
2431
+ "type": "string",
2432
+ "description": "The name of the file that is to be highlighted when the file manager application is launched, relative to the path of the directory."
2433
+ }
2434
+ }
2435
+ }
2436
+ },
1546
2437
  {
1547
2438
  "name": "open_file",
1548
2439
  "description": "Open a file in Sublime Text, optionally jumping to a specific line and column.",
@@ -1597,6 +2488,57 @@
1597
2488
  "properties": {}
1598
2489
  }
1599
2490
  },
2491
+ {
2492
+ "name": "open_project_or_workspace",
2493
+ "description": "Opens the specified project or workspace file, in a new window by default. (WindowCommand)",
2494
+ "inputSchema": {
2495
+ "type": "object",
2496
+ "properties": {
2497
+ "file": {
2498
+ "type": "string",
2499
+ "description": "The absolute path to the project or workspace file."
2500
+ },
2501
+ "new_window": {
2502
+ "type": "boolean",
2503
+ "description": "Whether to open the specified project or workspace file in a new window."
2504
+ }
2505
+ }
2506
+ }
2507
+ },
2508
+ {
2509
+ "name": "open_recent_file",
2510
+ "description": "Opens a recently opened file. (WindowCommand)",
2511
+ "inputSchema": {
2512
+ "type": "object",
2513
+ "properties": {}
2514
+ }
2515
+ },
2516
+ {
2517
+ "name": "open_recent_folder",
2518
+ "description": "Opens a recently opened folder. (WindowCommand)",
2519
+ "inputSchema": {
2520
+ "type": "object",
2521
+ "properties": {
2522
+ "index": {
2523
+ "type": "integer",
2524
+ "description": "The index of recent folder to be opened as per the folder_history in the session file."
2525
+ }
2526
+ }
2527
+ }
2528
+ },
2529
+ {
2530
+ "name": "open_recent_project_or_workspace",
2531
+ "description": "Opens a recently opened project or workspace. (WindowCommand)",
2532
+ "inputSchema": {
2533
+ "type": "object",
2534
+ "properties": {
2535
+ "index": {
2536
+ "type": "integer",
2537
+ "description": "The index of the workspace as per recent_workspaces in the session file."
2538
+ }
2539
+ }
2540
+ }
2541
+ },
1600
2542
  {
1601
2543
  "name": "open_symbol_definition",
1602
2544
  "description": "Open the definition of a named symbol (WindowCommand). Pass 'symbol'.",
@@ -1612,6 +2554,32 @@
1612
2554
  ]
1613
2555
  }
1614
2556
  },
2557
+ {
2558
+ "name": "open_url",
2559
+ "description": "Opens the web browser to display the URL or the default application associated with the file/folder represented by the URL. (ApplicationCommand)",
2560
+ "inputSchema": {
2561
+ "type": "object",
2562
+ "properties": {
2563
+ "url": {
2564
+ "type": "string",
2565
+ "description": "The URL to be opened."
2566
+ }
2567
+ }
2568
+ }
2569
+ },
2570
+ {
2571
+ "name": "overwrite",
2572
+ "description": "Overwrites the selection(s) at the caret(s) location(s) with the given characters. (TextCommand)",
2573
+ "inputSchema": {
2574
+ "type": "object",
2575
+ "properties": {
2576
+ "characters": {
2577
+ "type": "string",
2578
+ "description": "The characters that will overwrite the selection(s)."
2579
+ }
2580
+ }
2581
+ }
2582
+ },
1615
2583
  {
1616
2584
  "name": "paste",
1617
2585
  "description": "Paste the clipboard contents at the cursor(s), replacing any selection.",
@@ -1636,6 +2604,14 @@
1636
2604
  "properties": {}
1637
2605
  }
1638
2606
  },
2607
+ {
2608
+ "name": "paste_selection_clipboard",
2609
+ "description": "Linux only. (TextCommand)",
2610
+ "inputSchema": {
2611
+ "type": "object",
2612
+ "properties": {}
2613
+ }
2614
+ },
1639
2615
  {
1640
2616
  "name": "permute_lines",
1641
2617
  "description": "Permute (shuffle) the lines in the current selection into a random order.",
@@ -1668,6 +2644,38 @@
1668
2644
  "properties": {}
1669
2645
  }
1670
2646
  },
2647
+ {
2648
+ "name": "prev_field",
2649
+ "description": "Navigates to the previous field in the snippet. (TextCommand)",
2650
+ "inputSchema": {
2651
+ "type": "object",
2652
+ "properties": {}
2653
+ }
2654
+ },
2655
+ {
2656
+ "name": "prev_misspelling",
2657
+ "description": "Navigates to the previous misspelling in the document. (TextCommand)",
2658
+ "inputSchema": {
2659
+ "type": "object",
2660
+ "properties": {}
2661
+ }
2662
+ },
2663
+ {
2664
+ "name": "prev_modification",
2665
+ "description": "Navigates to the previous modification in the document. (TextCommand)",
2666
+ "inputSchema": {
2667
+ "type": "object",
2668
+ "properties": {}
2669
+ }
2670
+ },
2671
+ {
2672
+ "name": "prev_os_tab",
2673
+ "description": "Sets the focus to the previous window in the os tab. (WindowCommand)",
2674
+ "inputSchema": {
2675
+ "type": "object",
2676
+ "properties": {}
2677
+ }
2678
+ },
1671
2679
  {
1672
2680
  "name": "prev_pane",
1673
2681
  "description": "Move focus to the previous pane/group in the window.",
@@ -1677,91 +2685,206 @@
1677
2685
  }
1678
2686
  },
1679
2687
  {
1680
- "name": "prev_result",
1681
- "description": "Jump to the previous find-in-files or build result. Visible in the view (cursor moves).",
2688
+ "name": "prev_result",
2689
+ "description": "Jump to the previous find-in-files or build result. Visible in the view (cursor moves).",
2690
+ "inputSchema": {
2691
+ "type": "object",
2692
+ "properties": {}
2693
+ }
2694
+ },
2695
+ {
2696
+ "name": "prev_view",
2697
+ "description": "Switch to the previous view/tab in the current group.",
2698
+ "inputSchema": {
2699
+ "type": "object",
2700
+ "properties": {}
2701
+ }
2702
+ },
2703
+ {
2704
+ "name": "prev_view_in_stack",
2705
+ "description": "Switch to the previous view in the view history stack (Ctrl+Shift+Tab equivalent).",
2706
+ "inputSchema": {
2707
+ "type": "object",
2708
+ "properties": {}
2709
+ }
2710
+ },
2711
+ {
2712
+ "name": "primary_j_changed",
2713
+ "description": "Shows a dialog stating about the change of keybindings for the join_lines command. (WindowCommand)",
2714
+ "inputSchema": {
2715
+ "type": "object",
2716
+ "properties": {}
2717
+ }
2718
+ },
2719
+ {
2720
+ "name": "profile_plugins",
2721
+ "description": "Profile plugin load times (ApplicationCommand).",
2722
+ "inputSchema": {
2723
+ "type": "object",
2724
+ "properties": {}
2725
+ }
2726
+ },
2727
+ {
2728
+ "name": "profile_syntax_definition",
2729
+ "description": "Profile a syntax definition for performance issues (ApplicationCommand).",
2730
+ "inputSchema": {
2731
+ "type": "object",
2732
+ "properties": {}
2733
+ }
2734
+ },
2735
+ {
2736
+ "name": "project_search",
2737
+ "description": "Search project files with Sublime Text's native Find in Files engine and return structured {path,line,col,text} matches. This is the preferred project search tool.",
2738
+ "inputSchema": {
2739
+ "type": "object",
2740
+ "properties": {
2741
+ "pattern": {
2742
+ "type": "string"
2743
+ },
2744
+ "where": {
2745
+ "type": "string",
2746
+ "description": "ST Where expression; empty uses current project folders."
2747
+ },
2748
+ "case_sensitive": {
2749
+ "type": "boolean",
2750
+ "default": false
2751
+ },
2752
+ "regex": {
2753
+ "type": "boolean",
2754
+ "default": false
2755
+ },
2756
+ "whole_word": {
2757
+ "type": "boolean",
2758
+ "default": false
2759
+ },
2760
+ "limit": {
2761
+ "type": "integer",
2762
+ "default": 200
2763
+ },
2764
+ "timeout": {
2765
+ "type": "number",
2766
+ "default": 30
2767
+ },
2768
+ "show_panel": {
2769
+ "type": "boolean",
2770
+ "default": false
2771
+ }
2772
+ },
2773
+ "required": [
2774
+ "pattern"
2775
+ ]
2776
+ }
2777
+ },
2778
+ {
2779
+ "name": "prompt_add_folder",
2780
+ "description": "Shows the OS native open dialog, so the user can choose what folder they want to add to the sidebar. (WindowCommand) Opens a native OS dialog that blocks Sublime Text until it is dismissed.",
2781
+ "inputSchema": {
2782
+ "type": "object",
2783
+ "properties": {
2784
+ "initial_directory": {
2785
+ "type": "string",
2786
+ "description": "An absolute folder path on disk, where the native dialog will initially open."
2787
+ }
2788
+ }
2789
+ }
2790
+ },
2791
+ {
2792
+ "name": "prompt_goto_line",
2793
+ "description": "Open the Goto Line prompt (WindowCommand).",
2794
+ "inputSchema": {
2795
+ "type": "object",
2796
+ "properties": {}
2797
+ }
2798
+ },
2799
+ {
2800
+ "name": "prompt_open",
2801
+ "description": "Shows the MacOS native open dialog, so that the user can choose what file they want to open. (WindowCommand) Opens a native OS dialog that blocks Sublime Text until it is dismissed.",
2802
+ "inputSchema": {
2803
+ "type": "object",
2804
+ "properties": {
2805
+ "initial_directory": {
2806
+ "type": "string",
2807
+ "description": "An absolute folder path on disk, where the native dialog will initially open."
2808
+ }
2809
+ }
2810
+ }
2811
+ },
2812
+ {
2813
+ "name": "prompt_open_file",
2814
+ "description": "Shows the OS native open dialog, so that the user can choose what file they want to open. (WindowCommand) Opens a native OS dialog that blocks Sublime Text until it is dismissed.",
1682
2815
  "inputSchema": {
1683
2816
  "type": "object",
1684
- "properties": {}
2817
+ "properties": {
2818
+ "initial_directory": {
2819
+ "type": "string",
2820
+ "description": "An absolute folder path on disk, where the native dialog will initially open."
2821
+ }
2822
+ }
1685
2823
  }
1686
2824
  },
1687
2825
  {
1688
- "name": "prev_view",
1689
- "description": "Switch to the previous view/tab in the current group.",
2826
+ "name": "prompt_open_folder",
2827
+ "description": "Shows the OS native open dialog, so that the user can choose what folder they want to open. (WindowCommand) Opens a native OS dialog that blocks Sublime Text until it is dismissed.",
1690
2828
  "inputSchema": {
1691
2829
  "type": "object",
1692
- "properties": {}
2830
+ "properties": {
2831
+ "initial_directory": {
2832
+ "type": "string",
2833
+ "description": "An absolute folder path on disk, where the native dialog will initially open."
2834
+ }
2835
+ }
1693
2836
  }
1694
2837
  },
1695
2838
  {
1696
- "name": "prev_view_in_stack",
1697
- "description": "Switch to the previous view in the view history stack (Ctrl+Shift+Tab equivalent).",
2839
+ "name": "prompt_open_project_or_workspace",
2840
+ "description": "Show the OS' native open dialog, so the user can choose what project they want to open. (WindowCommand) Opens a native OS dialog that blocks Sublime Text until it is dismissed.",
1698
2841
  "inputSchema": {
1699
2842
  "type": "object",
1700
- "properties": {}
2843
+ "properties": {
2844
+ "initial_directory": {
2845
+ "type": "string",
2846
+ "description": "An absolute folder path on disk, where the native dialog will initially open."
2847
+ }
2848
+ }
1701
2849
  }
1702
2850
  },
1703
2851
  {
1704
- "name": "profile_plugins",
1705
- "description": "Profile plugin load times (ApplicationCommand).",
2852
+ "name": "prompt_save_as",
2853
+ "description": "Show the OS native save as dialog, so the user can choose the path where they want the file to be saved. (WindowCommand) Opens a native OS dialog that blocks Sublime Text until it is dismissed.",
1706
2854
  "inputSchema": {
1707
2855
  "type": "object",
1708
- "properties": {}
2856
+ "properties": {
2857
+ "initial_directory": {
2858
+ "type": "string",
2859
+ "description": "An absolute folder path on disk, where the native dialog will initially open."
2860
+ }
2861
+ }
1709
2862
  }
1710
2863
  },
1711
2864
  {
1712
- "name": "profile_syntax_definition",
1713
- "description": "Profile a syntax definition for performance issues (ApplicationCommand).",
2865
+ "name": "prompt_select_workspace",
2866
+ "description": "Opens the Quick Switch Project window. (WindowCommand)",
1714
2867
  "inputSchema": {
1715
2868
  "type": "object",
1716
2869
  "properties": {}
1717
2870
  }
1718
2871
  },
1719
2872
  {
1720
- "name": "project_search",
1721
- "description": "Search project files with Sublime Text's native Find in Files engine and return structured {path,line,col,text} matches. This is the preferred project search tool.",
2873
+ "name": "prompt_switch_project_or_workspace",
2874
+ "description": "Show the OS native open dialog, so the user can choose what project they want to switch to. (WindowCommand) Opens a native OS dialog that blocks Sublime Text until it is dismissed.",
1722
2875
  "inputSchema": {
1723
2876
  "type": "object",
1724
2877
  "properties": {
1725
- "pattern": {
1726
- "type": "string"
1727
- },
1728
- "where": {
2878
+ "initial_directory": {
1729
2879
  "type": "string",
1730
- "description": "ST Where expression; empty uses current project folders."
1731
- },
1732
- "case_sensitive": {
1733
- "type": "boolean",
1734
- "default": false
1735
- },
1736
- "regex": {
1737
- "type": "boolean",
1738
- "default": false
1739
- },
1740
- "whole_word": {
1741
- "type": "boolean",
1742
- "default": false
1743
- },
1744
- "limit": {
1745
- "type": "integer",
1746
- "default": 200
1747
- },
1748
- "timeout": {
1749
- "type": "number",
1750
- "default": 30
1751
- },
1752
- "show_panel": {
1753
- "type": "boolean",
1754
- "default": false
2880
+ "description": "An absolute folder path on disk, where the native dialog will initially open."
1755
2881
  }
1756
- },
1757
- "required": [
1758
- "pattern"
1759
- ]
2882
+ }
1760
2883
  }
1761
2884
  },
1762
2885
  {
1763
- "name": "prompt_goto_line",
1764
- "description": "Open the Goto Line prompt (WindowCommand).",
2886
+ "name": "purchase_license",
2887
+ "description": "Navigates to the url https://www.sublimehq.com/store/text in the default browser to allow a user to purchase a license.. (ApplicationCommand)",
1765
2888
  "inputSchema": {
1766
2889
  "type": "object",
1767
2890
  "properties": {}
@@ -1790,6 +2913,22 @@
1790
2913
  "properties": {}
1791
2914
  }
1792
2915
  },
2916
+ {
2917
+ "name": "redo_or_repeat",
2918
+ "description": "Redos the last undo or repeats the last action if there is no undo to revert. (TextCommand)",
2919
+ "inputSchema": {
2920
+ "type": "object",
2921
+ "properties": {}
2922
+ }
2923
+ },
2924
+ {
2925
+ "name": "refresh_folder_list",
2926
+ "description": "Refreshs the folder list in the sidebar from the filesystem. (WindowCommand)",
2927
+ "inputSchema": {
2928
+ "type": "object",
2929
+ "properties": {}
2930
+ }
2931
+ },
1793
2932
  {
1794
2933
  "name": "reindent",
1795
2934
  "description": "Re-indent the current selection(s) so each line's indentation matches its nesting depth.",
@@ -1813,6 +2952,14 @@
1813
2952
  ]
1814
2953
  }
1815
2954
  },
2955
+ {
2956
+ "name": "remove_license",
2957
+ "description": "Removes the license. This will cause Sublime Text/Merge to go into an unregistered state. (ApplicationCommand) Warning: unregisters Sublime Text.",
2958
+ "inputSchema": {
2959
+ "type": "object",
2960
+ "properties": {}
2961
+ }
2962
+ },
1816
2963
  {
1817
2964
  "name": "rename_file",
1818
2965
  "description": "Rename the active file (WindowCommand). Pass 'path' for the new name.",
@@ -1828,6 +2975,32 @@
1828
2975
  ]
1829
2976
  }
1830
2977
  },
2978
+ {
2979
+ "name": "rename_path",
2980
+ "description": "Renames the given file(s) on disk. (WindowCommand)",
2981
+ "inputSchema": {
2982
+ "type": "object",
2983
+ "properties": {
2984
+ "paths": {
2985
+ "type": "array",
2986
+ "description": "A list of absolute file paths to be renamed."
2987
+ }
2988
+ }
2989
+ }
2990
+ },
2991
+ {
2992
+ "name": "reopen",
2993
+ "description": "Reopens the file with a given encoding. (TextCommand)",
2994
+ "inputSchema": {
2995
+ "type": "object",
2996
+ "properties": {
2997
+ "encoding": {
2998
+ "type": "string",
2999
+ "description": "The encoding to be used when the file is reopened."
3000
+ }
3001
+ }
3002
+ }
3003
+ },
1831
3004
  {
1832
3005
  "name": "reopen_closed_file",
1833
3006
  "description": "Reopen the most recently closed file (File \u2192 Reopen Closed File).",
@@ -1836,6 +3009,30 @@
1836
3009
  "properties": {}
1837
3010
  }
1838
3011
  },
3012
+ {
3013
+ "name": "reopen_last_file",
3014
+ "description": "Reopens the most recently closed file. (WindowCommand)",
3015
+ "inputSchema": {
3016
+ "type": "object",
3017
+ "properties": {}
3018
+ }
3019
+ },
3020
+ {
3021
+ "name": "replace_all",
3022
+ "description": "Replaces all tokens in the view, which matches the pattern in the Find input field. (WindowCommand)",
3023
+ "inputSchema": {
3024
+ "type": "object",
3025
+ "properties": {}
3026
+ }
3027
+ },
3028
+ {
3029
+ "name": "replace_completion_with_auto_complete",
3030
+ "description": "Replaces the most recently inserted completion with the next result provided by the auto completion engine. (TextCommand)",
3031
+ "inputSchema": {
3032
+ "type": "object",
3033
+ "properties": {}
3034
+ }
3035
+ },
1839
3036
  {
1840
3037
  "name": "replace_in_files",
1841
3038
  "description": "Run the Replace half of Find in Files (Ctrl+Shift+H \u2192 Replace All) and show the diff preview panel so the user can review every replacement before it is committed. Same `where` syntax as find_in_files. Replace string may be empty for deletion. Regex capture-group backrefs ($1, $2) supported when regex=True.",
@@ -1910,6 +3107,14 @@
1910
3107
  ]
1911
3108
  }
1912
3109
  },
3110
+ {
3111
+ "name": "replace_next",
3112
+ "description": "Replaces the next token in the view, which matches the pattern in the Find input field. (WindowCommand)",
3113
+ "inputSchema": {
3114
+ "type": "object",
3115
+ "properties": {}
3116
+ }
3117
+ },
1913
3118
  {
1914
3119
  "name": "replace_selection",
1915
3120
  "description": "Replace the current selection(s) with text.",
@@ -1925,6 +3130,60 @@
1925
3130
  ]
1926
3131
  }
1927
3132
  },
3133
+ {
3134
+ "name": "reset_font_size",
3135
+ "description": "Resets the font size to the default value. (ApplicationCommand)",
3136
+ "inputSchema": {
3137
+ "type": "object",
3138
+ "properties": {}
3139
+ }
3140
+ },
3141
+ {
3142
+ "name": "resize_window",
3143
+ "description": "Resizes the window's external bounds to the specified width and height. (WindowCommand)",
3144
+ "inputSchema": {
3145
+ "type": "object",
3146
+ "properties": {
3147
+ "width": {
3148
+ "type": "integer",
3149
+ "description": "The external width of the window."
3150
+ },
3151
+ "height": {
3152
+ "type": "integer",
3153
+ "description": "The external height of the window."
3154
+ }
3155
+ }
3156
+ }
3157
+ },
3158
+ {
3159
+ "name": "reveal_in_side_bar",
3160
+ "description": "Reveals the active view's file in the sidebar. (WindowCommand)",
3161
+ "inputSchema": {
3162
+ "type": "object",
3163
+ "properties": {}
3164
+ }
3165
+ },
3166
+ {
3167
+ "name": "reveal_link_source",
3168
+ "description": "Resolves a symlink to expand the folder it represents. (WindowCommand)",
3169
+ "inputSchema": {
3170
+ "type": "object",
3171
+ "properties": {
3172
+ "dirs": {
3173
+ "type": "array",
3174
+ "description": "The list of symlink directorie(s) to be resolved."
3175
+ }
3176
+ }
3177
+ }
3178
+ },
3179
+ {
3180
+ "name": "revert",
3181
+ "description": "Reloads the file. (TextCommand) Warning: discards unsaved changes in the view.",
3182
+ "inputSchema": {
3183
+ "type": "object",
3184
+ "properties": {}
3185
+ }
3186
+ },
1928
3187
  {
1929
3188
  "name": "revert_file",
1930
3189
  "description": "Revert the active file to its last saved state, discarding unsaved changes.",
@@ -1933,6 +3192,30 @@
1933
3192
  "properties": {}
1934
3193
  }
1935
3194
  },
3195
+ {
3196
+ "name": "revert_hunk",
3197
+ "description": "Reverts a diff hunk. (TextCommand) Warning: discards the changes in the diff hunk.",
3198
+ "inputSchema": {
3199
+ "type": "object",
3200
+ "properties": {}
3201
+ }
3202
+ },
3203
+ {
3204
+ "name": "revert_modification",
3205
+ "description": "Reverts a single modification. (TextCommand) Warning: discards the modification.",
3206
+ "inputSchema": {
3207
+ "type": "object",
3208
+ "properties": {}
3209
+ }
3210
+ },
3211
+ {
3212
+ "name": "right_delete",
3213
+ "description": "Deletes the character to the right of the text selection caret(s). (TextCommand)",
3214
+ "inputSchema": {
3215
+ "type": "object",
3216
+ "properties": {}
3217
+ }
3218
+ },
1936
3219
  {
1937
3220
  "name": "rot13",
1938
3221
  "description": "Apply the ROT13 cipher to the current selection (TextCommand). Useful for obscuring spoiler text or round-tripping text.",
@@ -2001,6 +3284,19 @@
2001
3284
  "properties": {}
2002
3285
  }
2003
3286
  },
3287
+ {
3288
+ "name": "run_macro_file",
3289
+ "description": "Runs a macro saved in a macro file. (TextCommand)",
3290
+ "inputSchema": {
3291
+ "type": "object",
3292
+ "properties": {
3293
+ "file": {
3294
+ "type": "string",
3295
+ "description": "The 'Packages/' relative path to the '.sublime-macro' file."
3296
+ }
3297
+ }
3298
+ }
3299
+ },
2004
3300
  {
2005
3301
  "name": "run_syntax_tests",
2006
3302
  "description": "Run syntax tests on the active syntax file (WindowCommand).",
@@ -2009,6 +3305,27 @@
2009
3305
  "properties": {}
2010
3306
  }
2011
3307
  },
3308
+ {
3309
+ "name": "save",
3310
+ "description": "Saves the active view/document. (TextCommand)",
3311
+ "inputSchema": {
3312
+ "type": "object",
3313
+ "properties": {
3314
+ "async": {
3315
+ "type": "boolean",
3316
+ "description": "Whether to save the file asynchronously."
3317
+ },
3318
+ "encoding": {
3319
+ "type": "string",
3320
+ "description": "The encoding, to save the file as."
3321
+ },
3322
+ "quiet": {
3323
+ "type": "boolean",
3324
+ "description": "Whether to suppress dialogs if the file save fails or requires elevated permissions on the host OS."
3325
+ }
3326
+ }
3327
+ }
3328
+ },
2012
3329
  {
2013
3330
  "name": "save_all",
2014
3331
  "description": "Save all open files.",
@@ -2030,6 +3347,43 @@
2030
3347
  }
2031
3348
  }
2032
3349
  },
3350
+ {
3351
+ "name": "save_macro",
3352
+ "description": "Save the recorded macro to a file. (WindowCommand)",
3353
+ "inputSchema": {
3354
+ "type": "object",
3355
+ "properties": {}
3356
+ }
3357
+ },
3358
+ {
3359
+ "name": "save_project_and_workspace_as",
3360
+ "description": "Opens the OS dialog window to save the active project. (WindowCommand) Opens a native OS dialog that blocks Sublime Text until it is dismissed.",
3361
+ "inputSchema": {
3362
+ "type": "object",
3363
+ "properties": {}
3364
+ }
3365
+ },
3366
+ {
3367
+ "name": "save_workspace_as",
3368
+ "description": "Opens the OS dialog window to save the active workspace. (WindowCommand) Opens a native OS dialog that blocks Sublime Text until it is dismissed.",
3369
+ "inputSchema": {
3370
+ "type": "object",
3371
+ "properties": {}
3372
+ }
3373
+ },
3374
+ {
3375
+ "name": "scroll_lines",
3376
+ "description": "Scroll the active view by the specified number of lines. A negative number means to scroll in an upwards direction. (TextCommand)",
3377
+ "inputSchema": {
3378
+ "type": "object",
3379
+ "properties": {
3380
+ "amount": {
3381
+ "type": "number",
3382
+ "description": "The specified amount by which the view has to be scrolled."
3383
+ }
3384
+ }
3385
+ }
3386
+ },
2033
3387
  {
2034
3388
  "name": "scroll_to_bof",
2035
3389
  "description": "Scroll the active view so the beginning of the file is visible (does not move the cursor).",
@@ -2065,19 +3419,52 @@
2065
3419
  }
2066
3420
  },
2067
3421
  {
2068
- "name": "select_all",
2069
- "description": "Select the entire contents of the active view (Ctrl+A equivalent).",
3422
+ "name": "select",
3423
+ "description": "Runs the Sublime Text 'select' command. (WindowCommand)",
3424
+ "inputSchema": {
3425
+ "type": "object",
3426
+ "properties": {}
3427
+ }
3428
+ },
3429
+ {
3430
+ "name": "select_all",
3431
+ "description": "Select the entire contents of the active view (Ctrl+A equivalent).",
3432
+ "inputSchema": {
3433
+ "type": "object",
3434
+ "properties": {}
3435
+ }
3436
+ },
3437
+ {
3438
+ "name": "select_all_bookmarks",
3439
+ "description": "Select every line containing a bookmark in the active view.",
3440
+ "inputSchema": {
3441
+ "type": "object",
3442
+ "properties": {}
3443
+ }
3444
+ },
3445
+ {
3446
+ "name": "select_bookmark",
3447
+ "description": "Select a specific bookmark (by index) in the current document. (TextCommand)",
2070
3448
  "inputSchema": {
2071
3449
  "type": "object",
2072
- "properties": {}
3450
+ "properties": {
3451
+ "index": {
3452
+ "type": "integer"
3453
+ }
3454
+ }
2073
3455
  }
2074
3456
  },
2075
3457
  {
2076
- "name": "select_all_bookmarks",
2077
- "description": "Select every line containing a bookmark in the active view.",
3458
+ "name": "select_by_index",
3459
+ "description": "Focus a view in the active group based on its index. (WindowCommand)",
2078
3460
  "inputSchema": {
2079
3461
  "type": "object",
2080
- "properties": {}
3462
+ "properties": {
3463
+ "index": {
3464
+ "type": "integer",
3465
+ "description": "The index of the view to focus. The first view will have an index of 0 and so on."
3466
+ }
3467
+ }
2081
3468
  }
2082
3469
  },
2083
3470
  {
@@ -2193,6 +3580,19 @@
2193
3580
  ]
2194
3581
  }
2195
3582
  },
3583
+ {
3584
+ "name": "set_build_system",
3585
+ "description": "Sets the given build system based on the build file. (WindowCommand)",
3586
+ "inputSchema": {
3587
+ "type": "object",
3588
+ "properties": {
3589
+ "file": {
3590
+ "type": "string",
3591
+ "description": "Accepts a 'Packages/' relative path to a sublime build file to set as the current build system. An empty string will set it to the 'Automatic' option as seen in 'Tools -> Build System'."
3592
+ }
3593
+ }
3594
+ }
3595
+ },
2196
3596
  {
2197
3597
  "name": "set_encoding",
2198
3598
  "description": "Set the character encoding of the active file (e.g. 'UTF-8', 'Western (Windows 1252)').",
@@ -2208,6 +3608,19 @@
2208
3608
  ]
2209
3609
  }
2210
3610
  },
3611
+ {
3612
+ "name": "set_file_type",
3613
+ "description": "Sets the syntax for the active view. (TextCommand)",
3614
+ "inputSchema": {
3615
+ "type": "object",
3616
+ "properties": {
3617
+ "syntax": {
3618
+ "type": "string",
3619
+ "description": "The syntax to be set for the active view. Can either be a package relative path like 'Packages/Foo/Bar.sublime-syntax' or 'scope:' prefixed syntax name."
3620
+ }
3621
+ }
3622
+ }
3623
+ },
2211
3624
  {
2212
3625
  "name": "set_indent_spaces",
2213
3626
  "description": "Set the active view to use spaces for indentation.",
@@ -2239,6 +3652,19 @@
2239
3652
  ]
2240
3653
  }
2241
3654
  },
3655
+ {
3656
+ "name": "set_line_ending",
3657
+ "description": "Sets the line endings for the files. (TextCommand)",
3658
+ "inputSchema": {
3659
+ "type": "object",
3660
+ "properties": {
3661
+ "type": {
3662
+ "type": "string",
3663
+ "description": "The platform type. Valid values are 'windows', 'unix' & 'cr'."
3664
+ }
3665
+ }
3666
+ }
3667
+ },
2242
3668
  {
2243
3669
  "name": "set_mark",
2244
3670
  "description": "Set a mark at the current cursor position (TextCommand). Used with select_to_mark/swap_with_mark/delete_to_mark.",
@@ -2345,6 +3771,14 @@
2345
3771
  ]
2346
3772
  }
2347
3773
  },
3774
+ {
3775
+ "name": "show_about_window",
3776
+ "description": "Displays the about dialog. (ApplicationCommand)",
3777
+ "inputSchema": {
3778
+ "type": "object",
3779
+ "properties": {}
3780
+ }
3781
+ },
2348
3782
  {
2349
3783
  "name": "show_at_center",
2350
3784
  "description": "Scroll the active view so the current cursor line is centered in the window.",
@@ -2353,6 +3787,22 @@
2353
3787
  "properties": {}
2354
3788
  }
2355
3789
  },
3790
+ {
3791
+ "name": "show_changelog",
3792
+ "description": "Displays the changelog dialog. (ApplicationCommand)",
3793
+ "inputSchema": {
3794
+ "type": "object",
3795
+ "properties": {}
3796
+ }
3797
+ },
3798
+ {
3799
+ "name": "show_license_window",
3800
+ "description": "Displays the license dialog. This will only work if you are running an unregistered copy of Sublime Text. (ApplicationCommand)",
3801
+ "inputSchema": {
3802
+ "type": "object",
3803
+ "properties": {}
3804
+ }
3805
+ },
2356
3806
  {
2357
3807
  "name": "show_panel",
2358
3808
  "description": "Bring an output panel to the front. Use name='exec' for the build panel.",
@@ -2366,6 +3816,14 @@
2366
3816
  }
2367
3817
  }
2368
3818
  },
3819
+ {
3820
+ "name": "show_progress_window",
3821
+ "description": "Displays the indexing status dialog. (ApplicationCommand)",
3822
+ "inputSchema": {
3823
+ "type": "object",
3824
+ "properties": {}
3825
+ }
3826
+ },
2369
3827
  {
2370
3828
  "name": "show_scope_name",
2371
3829
  "description": "Print the syntax scope at the cursor to the ST console (TextCommand). Useful for debugging syntax-highlighting or writing snippet scopes.",
@@ -2390,6 +3848,38 @@
2390
3848
  "properties": {}
2391
3849
  }
2392
3850
  },
3851
+ {
3852
+ "name": "slurp_find_string",
3853
+ "description": "Uses the current selection as the find string. (WindowCommand)",
3854
+ "inputSchema": {
3855
+ "type": "object",
3856
+ "properties": {}
3857
+ }
3858
+ },
3859
+ {
3860
+ "name": "slurp_replace_string",
3861
+ "description": "Uses the current selection as the replacement string. (WindowCommand)",
3862
+ "inputSchema": {
3863
+ "type": "object",
3864
+ "properties": {}
3865
+ }
3866
+ },
3867
+ {
3868
+ "name": "soft_redo",
3869
+ "description": "Redos the last move or action, which has been undone. (TextCommand)",
3870
+ "inputSchema": {
3871
+ "type": "object",
3872
+ "properties": {}
3873
+ }
3874
+ },
3875
+ {
3876
+ "name": "soft_undo",
3877
+ "description": "Undos the last move or action. (TextCommand)",
3878
+ "inputSchema": {
3879
+ "type": "object",
3880
+ "properties": {}
3881
+ }
3882
+ },
2393
3883
  {
2394
3884
  "name": "sort_lines",
2395
3885
  "description": "Sort the selected lines (or all lines if nothing is selected).",
@@ -2469,6 +3959,58 @@
2469
3959
  ]
2470
3960
  }
2471
3961
  },
3962
+ {
3963
+ "name": "sublime_merge_blame_file",
3964
+ "description": "Git blame selected file(s) with Sublime Merge. (WindowCommand)",
3965
+ "inputSchema": {
3966
+ "type": "object",
3967
+ "properties": {
3968
+ "files": {
3969
+ "type": "array"
3970
+ }
3971
+ }
3972
+ }
3973
+ },
3974
+ {
3975
+ "name": "sublime_merge_file_history",
3976
+ "description": "Show the history of the selected file(s) in Sublime Merge. (WindowCommand)",
3977
+ "inputSchema": {
3978
+ "type": "object",
3979
+ "properties": {
3980
+ "files": {
3981
+ "type": "array"
3982
+ }
3983
+ }
3984
+ }
3985
+ },
3986
+ {
3987
+ "name": "sublime_merge_folder_history",
3988
+ "description": "Show the history of the selected folder(s) in Sublime Merge. (WindowCommand)",
3989
+ "inputSchema": {
3990
+ "type": "object",
3991
+ "properties": {
3992
+ "paths": {
3993
+ "type": "array"
3994
+ }
3995
+ }
3996
+ }
3997
+ },
3998
+ {
3999
+ "name": "sublime_merge_line_history",
4000
+ "description": "Shows the history of the selected line(s) in Sublime Merge. (TextCommand)",
4001
+ "inputSchema": {
4002
+ "type": "object",
4003
+ "properties": {}
4004
+ }
4005
+ },
4006
+ {
4007
+ "name": "sublime_merge_open_repo",
4008
+ "description": "Open the repository of the selected file/folder in Sublime Merge. (WindowCommand)",
4009
+ "inputSchema": {
4010
+ "type": "object",
4011
+ "properties": {}
4012
+ }
4013
+ },
2472
4014
  {
2473
4015
  "name": "swap_case",
2474
4016
  "description": "Swap the case of each character in the current selection(s) (upper\u2194lower).",
@@ -2509,6 +4051,14 @@
2509
4051
  "properties": {}
2510
4052
  }
2511
4053
  },
4054
+ {
4055
+ "name": "syntax_definition_compatability",
4056
+ "description": "Checks to see the syntax compatability of the currently active <b>.sublime-syntax</b> file. Any incompatible regex patterns (which doesn't conform to sregex) is shown in an output panel. (WindowCommand)",
4057
+ "inputSchema": {
4058
+ "type": "object",
4059
+ "properties": {}
4060
+ }
4061
+ },
2512
4062
  {
2513
4063
  "name": "syntax_definition_compatibility",
2514
4064
  "description": "Check syntax definition compatibility (ApplicationCommand).",
@@ -2549,6 +4099,14 @@
2549
4099
  "properties": {}
2550
4100
  }
2551
4101
  },
4102
+ {
4103
+ "name": "toggle_case_sensitive",
4104
+ "description": "Toggles the 'Case sensitive' flag in the Find/Replace/Incremental Find/Find in Files panel. (WindowCommand)",
4105
+ "inputSchema": {
4106
+ "type": "object",
4107
+ "properties": {}
4108
+ }
4109
+ },
2552
4110
  {
2553
4111
  "name": "toggle_comment",
2554
4112
  "description": "Toggle line comment (or block comment if block=true) on the current selection.",
@@ -2578,6 +4136,35 @@
2578
4136
  "properties": {}
2579
4137
  }
2580
4138
  },
4139
+ {
4140
+ "name": "toggle_highlight",
4141
+ "description": "Toggles the 'Highlight matches' flag in the Find/Replace/Incremental Find panel. (WindowCommand)",
4142
+ "inputSchema": {
4143
+ "type": "object",
4144
+ "properties": {}
4145
+ }
4146
+ },
4147
+ {
4148
+ "name": "toggle_in_selection",
4149
+ "description": "Toggles the 'In selection' flag in the Find/Replace/Incremental Find panel. (WindowCommand)",
4150
+ "inputSchema": {
4151
+ "type": "object",
4152
+ "properties": {}
4153
+ }
4154
+ },
4155
+ {
4156
+ "name": "toggle_inline_diff",
4157
+ "description": "Toggles whether the inline diff of the modifications under the cursor location(s) is displayed. (TextCommand)",
4158
+ "inputSchema": {
4159
+ "type": "object",
4160
+ "properties": {
4161
+ "prefer_hide": {
4162
+ "type": "boolean",
4163
+ "description": "Whether to hide the other visible diffs, while showing the ones under the cursor location(s)."
4164
+ }
4165
+ }
4166
+ }
4167
+ },
2581
4168
  {
2582
4169
  "name": "toggle_menu",
2583
4170
  "description": "Show or hide the top menu bar.",
@@ -2594,6 +4181,22 @@
2594
4181
  "properties": {}
2595
4182
  }
2596
4183
  },
4184
+ {
4185
+ "name": "toggle_overwrite",
4186
+ "description": "Toggles whether the caret is in insert mode or overwrite mode. (TextCommand)",
4187
+ "inputSchema": {
4188
+ "type": "object",
4189
+ "properties": {}
4190
+ }
4191
+ },
4192
+ {
4193
+ "name": "toggle_preserve_case",
4194
+ "description": "Toggles the 'Preserve case' flag in the Replace panel. (WindowCommand)",
4195
+ "inputSchema": {
4196
+ "type": "object",
4197
+ "properties": {}
4198
+ }
4199
+ },
2597
4200
  {
2598
4201
  "name": "toggle_record_macro",
2599
4202
  "description": "Start or stop recording a macro (keystrokes are captured until this is called again).",
@@ -2602,6 +4205,51 @@
2602
4205
  "properties": {}
2603
4206
  }
2604
4207
  },
4208
+ {
4209
+ "name": "toggle_regex",
4210
+ "description": "Toggles the 'Regular expression' flag in the Find/Replace/Incremental Find/Find in Files panel. (WindowCommand)",
4211
+ "inputSchema": {
4212
+ "type": "object",
4213
+ "properties": {}
4214
+ }
4215
+ },
4216
+ {
4217
+ "name": "toggle_save_all_on_build",
4218
+ "description": "Enables/Disables saving all open files before running a build command. (WindowCommand)",
4219
+ "inputSchema": {
4220
+ "type": "object",
4221
+ "properties": {}
4222
+ }
4223
+ },
4224
+ {
4225
+ "name": "toggle_setting",
4226
+ "description": "Toggles the specified boolean setting. (TextCommand)",
4227
+ "inputSchema": {
4228
+ "type": "object",
4229
+ "properties": {
4230
+ "setting": {
4231
+ "type": "string",
4232
+ "description": "The boolean setting to toggle."
4233
+ }
4234
+ }
4235
+ }
4236
+ },
4237
+ {
4238
+ "name": "toggle_show_context",
4239
+ "description": "Toggles the 'Show Context' flag in the Find in Files panel. (WindowCommand)",
4240
+ "inputSchema": {
4241
+ "type": "object",
4242
+ "properties": {}
4243
+ }
4244
+ },
4245
+ {
4246
+ "name": "toggle_show_open_files",
4247
+ "description": "Toggles the visibility of the list of open files in the sidebar. (WindowCommand)",
4248
+ "inputSchema": {
4249
+ "type": "object",
4250
+ "properties": {}
4251
+ }
4252
+ },
2605
4253
  {
2606
4254
  "name": "toggle_side_bar",
2607
4255
  "description": "Show or hide the left side bar (folder tree). Distinct from toggle_sidebar which is the MCP control-panel toggle.",
@@ -2634,6 +4282,38 @@
2634
4282
  "properties": {}
2635
4283
  }
2636
4284
  },
4285
+ {
4286
+ "name": "toggle_use_buffer",
4287
+ "description": "Toggles the 'Use Buffer' flag in the Find in Files panel. (WindowCommand)",
4288
+ "inputSchema": {
4289
+ "type": "object",
4290
+ "properties": {}
4291
+ }
4292
+ },
4293
+ {
4294
+ "name": "toggle_use_gitignore",
4295
+ "description": "Toggles the 'Use gitignore' flag in the Find in Files panel. (WindowCommand)",
4296
+ "inputSchema": {
4297
+ "type": "object",
4298
+ "properties": {}
4299
+ }
4300
+ },
4301
+ {
4302
+ "name": "toggle_whole_word",
4303
+ "description": "Toggles the 'Whole word' flag in the Find/Replace/Incremental Find/Find in Files panel. (WindowCommand)",
4304
+ "inputSchema": {
4305
+ "type": "object",
4306
+ "properties": {}
4307
+ }
4308
+ },
4309
+ {
4310
+ "name": "toggle_wrap",
4311
+ "description": "Toggles the 'Wrap' flag in Find/Replace/Incremental Find panel. (WindowCommand)",
4312
+ "inputSchema": {
4313
+ "type": "object",
4314
+ "properties": {}
4315
+ }
4316
+ },
2637
4317
  {
2638
4318
  "name": "transformer",
2639
4319
  "description": "Apply a transformer (case conversion, encoding, etc.) to the current selection (TextCommand). A general-purpose text-transform base command.",
@@ -2698,6 +4378,22 @@
2698
4378
  "properties": {}
2699
4379
  }
2700
4380
  },
4381
+ {
4382
+ "name": "unfold",
4383
+ "description": "Unfolds all folded region(s) at the given caret location(s). (TextCommand)",
4384
+ "inputSchema": {
4385
+ "type": "object",
4386
+ "properties": {}
4387
+ }
4388
+ },
4389
+ {
4390
+ "name": "unfold_all",
4391
+ "description": "Unfolds all folded region(s) in the given buffer. (TextCommand)",
4392
+ "inputSchema": {
4393
+ "type": "object",
4394
+ "properties": {}
4395
+ }
4396
+ },
2701
4397
  {
2702
4398
  "name": "unindent",
2703
4399
  "description": "Unindent the current selection(s) by one indentation level (Shift+Tab when there is a selection).",
@@ -2730,6 +4426,22 @@
2730
4426
  "properties": {}
2731
4427
  }
2732
4428
  },
4429
+ {
4430
+ "name": "update_check",
4431
+ "description": "Opens the update dialog box of Sublime Text. (ApplicationCommand)",
4432
+ "inputSchema": {
4433
+ "type": "object",
4434
+ "properties": {}
4435
+ }
4436
+ },
4437
+ {
4438
+ "name": "upgrade_license",
4439
+ "description": "Navigates to https://www.sublimehq.com/store/upgrade, where you can upgrade an expired license. (ApplicationCommand)",
4440
+ "inputSchema": {
4441
+ "type": "object",
4442
+ "properties": {}
4443
+ }
4444
+ },
2733
4445
  {
2734
4446
  "name": "upper_case",
2735
4447
  "description": "Convert the current selection(s) to UPPER CASE.",