read_screen
Inspect Pharo UI structure and capture screenshots for debugging morphs, Spec windows, or Roassal visualizations.
Instructions
Comprehensive UI screen reader for debugging Pharo interfaces.
Captures screenshot and extracts complete UI structure for World morphs, Spec presenters, and Roassal visualizations.
Args: target_type: 'world' for morphs, 'spec' for Spec windows, 'roassal' for visualizations capture_screenshot: Include PNG screenshot in response (default: true)
Returns: dict: UI structure and metrics - screenshot: Path to PNG file in /tmp/ (if capture_screenshot=true) - target_type: Which UI type was inspected - structure: Complete UI hierarchy data - summary: Human-readable description
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_type | No | UI type to inspect: 'world' (morphs), 'spec' (windows), or 'roassal' (visualizations) | world |
| capture_screenshot | No | Include PNG screenshot in response |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||