SCREENCAST-MCP / TOOLS / CAPTURE
List Capture Targets
list_targets
List the desktop, monitors, and visible windows (topmost first, with capturability per backend). Each entry has a target string to pass as-is to capture tools; use it instead of guessing a title.
captureread-onlyidempotentsince v0.43.0
00:00PARAMETERS
| Name | Type | Description |
|---|---|---|
exe | string | Only list windows of this executable, e.g. 'Code.exe' or 'code'. |
titleContains | string | Only list windows whose title contains this text (case-insensitive). |
capturableOnly | boolean | Leave out windows neither backend can capture (minimized, off screen). Default false. |
00:05A MINIMAL CALL
list_targets {}
The required arguments only, with placeholder values. Everything else takes its default.
00:10WHAT COMES BACK
Structured content (structuredContent), alongside a text summary:
| Field | Type |
|---|---|
full always | object |
full.target always | "full" |
full.bounds always | object |
monitors always | object[] |
monitors[].target always | string |
monitors[].index always | number |
monitors[].primary always | boolean |
monitors[].bounds always | object |
monitors[].dpi always | number | null |
monitors[].scale always | number | null |
windows always | object[] |
windows[].target always | string |
windows[].title always | string |
windows[].exe always | string | null |
windows[].pid always | number | null |
windows[].hwnd always | number | null |
windows[].bounds always | object |
windows[].minimized always | boolean |
windows[].cloaked always | boolean |
windows[].capturable always | boolean |
windows[].wgcCapturable always | boolean |
wgcAvailable always | boolean |
note always | string |