Skip to main content

Module ui_screenshot_types

Module ui_screenshot_types 

Source
Expand description

The request and response of POST /api/v1/ui/screenshot (the UI tool’s screenshot). Re-exported by api_types, where the rest of the UI requests are.

Structs§

ScreenshotRegion
A part of a page, in CSS pixels from its top left.
UiScreenshotRequest
POST /api/v1/ui/screenshot
UiScreenshotResponse
Response for POST /api/v1/ui/screenshot. path is a file already written to disk (openable in the Editor, Pane open); png_base64 is the same image inline, for a caller that can render an MCP ImageContent block directly without a second round trip.