ui.get_text
Read text from UI nodes matched by a selector without tapping. Use it to inspect Android screen content and extract labels, messages, or values.
Instructions
读取选择器命中节点的文本(只读不点击)
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": {
"selector": "<selector>"
},
"name": "ui.get_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pkg | No | ||
| limit | No | 最多返回节点数 | |
| selector | Yes |