capture_screen
Capture the current screen or a chosen region as the user sees it, saving a PNG to temp for locating elements and adding annotations. Use when content spans windows or isn't in one window.
Instructions
Screenshot the whole screen or one region, as the user sees it right now. Use it for something that spans several windows or is not in any one window; prefer capture_window for one app (no overlap from other windows) and capture_web for web pages (exact element rects). macOS needs the Screen Recording permission for the app that runs this server (Claude Desktop, the terminal...); without it the capture comes back blank and the error says how to fix it. Linux needs mss (X11) or grim (Wayland). Writes a PNG to the temp folder. Returns its path and size, and a preview; then locate elements with locate or grid + zoom and annotate with scale 1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | Part of the screen: [x, y, w, h] in screen points, or the same four numbers as a string "x,y,w,h". Omit for the whole main display (all displays on Windows). |