sublime-mcp 1.13.5 → 1.13.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fallback-tools.json +30 -2
- package/package.json +1 -1
package/fallback-tools.json
CHANGED
|
@@ -4749,7 +4749,7 @@
|
|
|
4749
4749
|
},
|
|
4750
4750
|
{
|
|
4751
4751
|
"name": "ui_screenshot",
|
|
4752
|
-
"description": "Take a picture of one window of this Sublime Text process (Windows only). Returns the image itself as an image block
|
|
4752
|
+
"description": "Take a picture of one window of this Sublime Text process (Windows only). Returns the image itself as an image block, first in the reply, followed by one text block with the size and what was captured. Works for a window that is behind others or not focused, and for dialogs. Choose the window with window_title (part of its title; an unmatched title lists the windows) or hwnd from list_native_windows; default is the first editor window. tab shows one tab for the picture (part of its name, or its 0-based index in the active window) and puts the tab that was in front back afterwards: use it to see a tab that is not in front. region crops, scale zooms (2 doubles the size, to read small text) and max_width shrinks. save_dir (an absolute folder) also keeps the PNG in a dated subfolder and reports saved_path. inline=false returns only a file path. Only windows of Sublime Text itself can be captured, never another program.",
|
|
4753
4753
|
"inputSchema": {
|
|
4754
4754
|
"type": "object",
|
|
4755
4755
|
"properties": {
|
|
@@ -4757,9 +4757,37 @@
|
|
|
4757
4757
|
"type": "integer",
|
|
4758
4758
|
"description": "Window handle from list_native_windows (default: first editor window)."
|
|
4759
4759
|
},
|
|
4760
|
+
"window_title": {
|
|
4761
|
+
"type": "string",
|
|
4762
|
+
"description": "Capture the window whose title contains this text (case-insensitive), instead of giving hwnd."
|
|
4763
|
+
},
|
|
4764
|
+
"tab": {
|
|
4765
|
+
"type": "string",
|
|
4766
|
+
"description": "Show this tab for the picture: part of its name, or digits for its 0-based index in the active window (for example '1'). The tab that was in front is restored."
|
|
4767
|
+
},
|
|
4768
|
+
"min_idle_s": {
|
|
4769
|
+
"type": "number",
|
|
4770
|
+
"description": "With tab: required seconds since the person last used the keyboard or mouse (default 3), because switching tabs moves their focus."
|
|
4771
|
+
},
|
|
4772
|
+
"wait_idle_s": {
|
|
4773
|
+
"type": "number",
|
|
4774
|
+
"description": "With tab: wait up to this many seconds (max 120) for the person to stop typing before giving up (default 10)."
|
|
4775
|
+
},
|
|
4776
|
+
"scale": {
|
|
4777
|
+
"type": "number",
|
|
4778
|
+
"description": "Resize factor: 2 doubles the picture so small text is easier to read, 0.5 halves it (nearest-neighbour; the longest side is capped at 4096 pixels)."
|
|
4779
|
+
},
|
|
4780
|
+
"max_width": {
|
|
4781
|
+
"type": "integer",
|
|
4782
|
+
"description": "Shrink the picture to at most this many pixels wide (never enlarges)."
|
|
4783
|
+
},
|
|
4784
|
+
"save_dir": {
|
|
4785
|
+
"type": "string",
|
|
4786
|
+
"description": "Absolute folder: also save the PNG in a subfolder named by date and return saved_path."
|
|
4787
|
+
},
|
|
4760
4788
|
"inline": {
|
|
4761
4789
|
"type": "boolean",
|
|
4762
|
-
"description": "Return the image itself (default true); false
|
|
4790
|
+
"description": "Return the image itself (default true); false returns only a file path (temp file, or in save_dir when given)."
|
|
4763
4791
|
},
|
|
4764
4792
|
"region": {
|
|
4765
4793
|
"type": "object",
|
package/package.json
CHANGED