renforge_scene_tree
Retrieve the live Ren'Py scene as structured data: get all displayables, controls, and text blocks with id, bounds, center, zorder, and screen. Filter by layer/type, save snapshots, and diff.
Instructions
Perceive the whole scene as structured data (logical coordinates).
Unlike renforge_list_ui_elements (focusables only), this reports every
layer displayable, focusable control, and text block with id, type,
bounds, center, zorder and screen. Every reply carries an
omitted completeness hint. detail is semantic (default), layout
or raw; layers/types/screen/ids scope the result.
include=["color","style","overflow"] opts into composited colour,
declared style, and best-effort text overflow. format="wireframe" adds
an ASCII map. save_as persists a snapshot under .renforge/scenes/;
diff_against diffs the live scene against a saved snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| types | No | ||
| detail | No | semantic | |
| format | No | json | |
| layers | No | ||
| screen | No | ||
| include | No | ||
| save_as | No | ||
| max_items | No | ||
| diff_against | No | ||
| project_path | Yes | ||
| max_output_bytes | No | ||
| max_output_depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||