Look at the screen
lookCapture the window under your cursor or a chosen display/window, then return it as an image for UI, error, file, or web-page checks.
Instructions
Take a screenshot of what the user is looking at and return it as an image. By default captures the window under the mouse pointer (or, if that is the terminal, the front-most other window). Use target "screen" for the whole display the mouse is on. Optionally pick a window by app name/title or window id, or a display number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | App name or window-title substring, e.g. "Xcode", "Simulator", "Chrome" | |
| target | No | Capture a single window or an entire display | window |
| display | No | Display number for target screen (1 = main; default: the one the mouse is on) | |
| window_id | No | Exact window id from list_windows | |
| under_cursor | No | Capture the window under the mouse pointer (default; falls back if it's the terminal). false = front-most window |