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.
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": {
"output_path": "<output_path>"
},
"name": "playdate_capture_screenshot"
}
}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 |