Verify SDUI Payload
verify_sdui_payloadValidate an SDUI response payload against expected fields. Returns match status and any mismatches to confirm correct UI rendering.
Instructions
Validate that a specific SDUI network response matches expected fields. Returns matched status and a list of any mismatches. Used to assert correct server-driven content is rendered by the UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full URL of the SDUI endpoint to verify | |
| sessionId | Yes | Active or completed session ID | |
| filterDomains | No | Optional list of domains to pre-filter the Proxyman HAR export (e.g., ["api.myapp.com"]) | |
| expectedFields | No | Key-value pairs that must be present in the response payload |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actual | No | The actual response payload | |
| matched | Yes | Whether all expected fields matched the actual response | |
| mismatches | No | List of field paths that did not match expectations |