Take a screenshot of the screen
take_screenshotCaptures a Mac display, window, or screen region into your CloudShots library, syncing each screenshot with a generated name, recognized text, and tags.
Instructions
Captures this Mac's screen into the user's CloudShots library, the same way the user's capture shortcut does: it syncs, gets a name, recognized text and tags, and honors the user's save-a-copy setting. mode "display" captures a whole display (display 0 is the main display, 1 and up are the others, left to right); "window" captures the frontmost on-screen window whose app name contains 'app' and whose title contains 'window_title' (case-insensitive; pass at least one); "region" captures the rectangle x, y, width, height in points in global screen coordinates with the origin at the top-left of the main display. delay waits 0 to 10 seconds first, for example to open a menu. Needs CloudShots to have Screen Recording permission: it never asks for it, so when it is missing the call fails and the user must grant it in System Settings > Privacy & Security. The result has the new id and the same JSON as get_screenshot; the name, recognized text and tags are generated a moment later, so call get_screenshot again for them. duplicate is true when the screen matched a screenshot already in the library, whose id is returned instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mode": "<mode>"
},
"name": "take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | mode region: left edge in points, global coordinates. | |
| y | No | mode region: top edge in points, global coordinates, measured down from the top of the main display. | |
| app | No | mode window: part of the owning app's name, case-insensitive, for example "Safari". | |
| mode | Yes | What to capture: display, window or region. | |
| delay | No | Seconds to wait before capturing, 0 to 10. Default 0. | |
| width | No | mode region: width in points. | |
| height | No | mode region: height in points. | |
| display | No | mode display: display index, 0 is the main display (default). | |
| window_title | No | mode window: part of the window title, case-insensitive. |