Capture a Playdate screenshot
playdate_capture_screenshotCapture a 400x240 screenshot from the Playdate Simulator to a new PNG file and return it as image content. Avoids overwriting existing files.
Instructions
Capture the 400 by 240 framebuffer to a new PNG path and return it as MCP image content. Existing files are never overwritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Positive Playdate Simulator process identifier when more than one is running. | |
| output_path | Yes | New output path using the .png extension. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signal | No | ||
| stderr | Yes | ||
| stdout | Yes | ||
| command | Yes | ||
| exitCode | No | ||
| timedOut | No | ||
| errorCode | No | ||
| succeeded | Yes | ||
| termination | Yes |