aua_read_fields
Reads and classifies money, text, or multiple-choice fields from the current Android app screen using UI tree data or local OCR, returning evidence for Agent verification.
Instructions
Read-only Jev field judgments on current app text. source=auto uses the tree when text/expected_labels and money candidates suffice; otherwise captures a device ROI and runs local macOS Vision OCR (requires Xcode Command Line Tools). source=tree disables OCR; screen_ocr forces it. OCR pixels are checked again after inference. No visual clicks. Extract code-owned money/text spans or classify supplied options, all fields in one request. Requires Jev enabled. evidence_text optionally supplies Agent OCR text, explicitly marked caller_provided_text, not verified as a phone read. Missing/ambiguous values return NONE. Decimal parsing is local. region limits evidence in display pixels; ocr_masks exclude non-evidence from OCR and hashing. min_ocr_confidence is optional uncalibrated provider telemetry, not accuracy. Declare currency for ambiguous symbols. Optional sum_check validates same-currency Decimal sums in code; no device actions. verified=false always requires Agent business verification.
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": {
"package": "<package>",
"fields": "<fields>"
},
"name": "aua_read_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| region | No | ||
| source | No | auto | |
| package | Yes | ||
| currency | No | ||
| ocr_masks | No | ||
| sum_check | No | ||
| min_margin | No | ||
| evidence_text | No | ||
| expected_labels | No | ||
| min_probability | No | ||
| timeout_seconds | No | ||
| min_ocr_confidence | No |