validate_view
Validates UI5 views statically before the build/run loop, checking property compatibility and rendering headless with a mock model to catch issues in seconds.
Instructions
Fast static validation via ai-view-check, BEFORE the build/run loop: reconstructs the view from the z2ui5_cl_ai_xml builder calls (or takes raw view XML), runs the UI5 property gate (@since floor, deprecation) and renders it headless with a typed mock model. Seconds instead of a build+boot — use it after writing ABAP, then deploy_app once it is clean.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | alternatively: raw view/fragment XML | |
| allow | No | accepted deviations, e.g. ["sap.m.GenericTile.systemInfo"] | |
| render | No | run the headless render gate (default true) | |
| min_ui5 | No | UI5 floor for the property gate (default 1.71) | |
| abap_source | No | ABAP class source building its view with z2ui5_cl_ai_xml |