v1.0.0 · MCP Tool · system · registry.pascalai.org
Capture the Windows desktop (full screen or a specific area) and save as PNG, JPEG or BMP. Returns screen info, virtual bounds and monitor count.
screenscreenshotcapturedesktopwindowsimagepng
Input Parameters
Parameter
Type
Description
operationrequired
string
info: return screen dimensions and monitor count. capture: save full virtual screen to file. capture_area: save a rectangular region to file. One of: info, capture, capture_area.
outputPathoptional
string
Destination file path. Extension determines format: .png (default, lossless), .jpg (lossy), .bmp (uncompressed). Required for capture and capture_area.
xoptional
integer
Left edge of capture area in pixels (from primary screen origin). Required for capture_area.
yoptional
integer
Top edge of capture area in pixels. Required for capture_area.
widthoptional
integer
Width of capture area in pixels. Required for capture_area.
heightoptional
integer
Height of capture area in pixels. Required for capture_area.
Discovery hint: Install with ppm install mcp-screen or invoke remotely via POST /v1/invoke/mcp-screen on the MCP Service.
PascalAI Usage
uses toolslib;
var Tool := LoadTool('mcp-screen');
var R := Tool.Call(JsonObj(['operation','capture','outputPath','C:/screen.png']));
Writeln(R.ToJSON);