ui2.find_templates
Locate declared icon templates on the current Android screen and return each match's position, confidence, and semantic label. Use it to detect visible UI icons without hover.
Instructions
图标模板匹配:在当前屏幕上找声明图集里的图标(无需 hover,图标在屏即命中),返回位置+置信度+manifest 里声明的语义。templates 缺省匹配图集全部;图集用 template.add 从截图裁剪声明
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": "ui2.find_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | 图集名(templates/<game>/),缺省扫全部 | |
| max_per | No | ||
| templates | No | 模板名列表,缺省全部 | |
| threshold | No |