verify_spatial_relationships
Validate spatial layout rules on a page, such as 'nav above hero' or 'sidebar left of content'. Returns pass/fail per rule with a human-readable reason.
Instructions
Validates a set of spatial layout rules — e.g. 'nav must be above hero', 'sidebar must be left of content'. Returns pass/fail per rule with a human-readable reason. Use to answer: does the page layout match the design specification?
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the page to analyze | |
| rules | Yes | List of spatial rules to validate | |
| viewport | No | Viewport size (default: 1280×720) |