Capture
Take a screenshot
Captures the screen as a still PNG. Supports full (primary display), display (a specific monitor), and region (an exact rect, in either coordinate space — see space). Always writes the PNG to disk and returns metadata only; inline base64 is never returned, so save_path chooses where the file lands rather than whether one is written, and an omitted save_path is auto-generated under ~/Library/Application Support/ToolPiper/screenshots/. Modes window, element, and find are reserved and currently return 501.
post/v1/screenshot
Request
- Base URL: http://localhost:9998
- URL: http://localhost:9998/v1/screenshot
- Auth: HTTP bearer
Request body
Response
Captured screenshot (inline base64 or written to disk)
Changes
No recorded changes to this operation across all 1 revision of this API.