inspect_layout
Analyze UI layout quality in Pyxel games by detecting text positions, checking horizontal balance, and identifying centering issues to verify visual alignment.
Instructions
Analyze screen layout, text alignment, and visual balance.
Detects text positions, checks horizontal balance, and identifies centering issues. Use this to verify UI layout quality.
Args: script_path: Absolute path to the .py script to run. frames: Frame number to analyze (default: 5). timeout: Maximum seconds to wait for the script (default: 10).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_path | Yes | ||
| frames | No | ||
| timeout | No |