Read a capture back as an image
read_captureRetrieve a capture's PNG image by its filename to view the actual screenshot, solving the problem of filesystem paths being unusable for remote agents.
Instructions
Return one capture's PNG as image content.
shot answers with a filesystem path, which is worth nothing to an agent
that is not running on this machine. This is how the picture itself gets
back, and it is a SEPARATE call on purpose: a full-frame PNG is tens of
kilobytes before base64, so a caller that only wanted to know the capture
succeeded should not be made to pay for the pixels.
Args:
name: A capture filename from captures, e.g.
<mod>-shot-<token>-001-topleft.png. A NAME, never a path — see
captures.read for why the containment is structural.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |