spatial_prepare_screenshot_decomposition_request
Converts a reference screenshot and optional room data into a structured detected-items contract and vision prompt, enabling screenshot decomposition for scene graph and placement workflows.
Instructions
Prepare a vision-agent request for screenshot decomposition.
KB: see knowledge_base/10_WORLD_BUILDING.md#9-world-building-best-practices
This local planner does not run computer vision. It turns a reference screenshot, optional room bounds, and optional live room analysis into a strict detected_items_json contract, vision prompt, and handoffs into Ghost's screenshot preflight, scene graph, crop, Tripo, binding, placement, and validation workflow.
Example: spatial_prepare_screenshot_decomposition_request(reference_image="C:/refs/apartment.png", image_size=[1280, 720])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| intent | No | ||
| max_items | No | ||
| room_type | No | apartment | |
| image_size | No | ||
| room_origin | No | ||
| reference_image | Yes | ||
| room_dimensions | No | ||
| prefer_crop_boxes | No | ||
| room_analysis_json | No | ||
| include_architectural_fill | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |