verify_ui
Renders a @Preview composable via Android CLI and cross-checks its semantics tree against Compose standards to validate UI compliance. Returns the render command and standards to validate against.
Instructions
Agentic workflow: renders a @Preview composable via Android CLI and cross-checks its semantics tree against ITGD Compose standards. Returns render command + standards to validate against.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"composable_name": "<composable_name>"
},
"name": "verify_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the Kotlin file containing the @Preview composable. | |
| composable_name | Yes | Name of the composable @Preview function to render. |