element_info
Inspect a UI element by ref to get its role, name, value, state, bounds, and available actions, confirming correctness before click or type.
Instructions
按 ref 查看单个元素的详情:角色、名字、值、状态、屏幕矩形、可用 actions。在 click/type 前用它确认元素是否正确、有哪些可执行动作。
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": {
"ref": "<ref>"
},
"name": "element_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |