run_and_capture
Execute a Pyxel game script and capture a screenshot after specified frames for visual verification of game behavior.
Instructions
Run a Pyxel script and capture a screenshot after N frames.
Args: script_path: Absolute path to the .py script to run. frames: Number of frames to render before capturing (default: 60). scale: Screenshot scale multiplier (default: 1). timeout: Maximum seconds to wait for the script (default: 10).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_path | Yes | ||
| frames | No | ||
| scale | No | ||
| timeout | No |