元素详情
element_infoRetrieve complete information for a web element, including text, HTML, attributes, values, links, position, and status.
Instructions
获取元素完整信息:文本、HTML、属性、值、链接、位置尺寸与状态。
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": {
"element_id": "<element_id>"
},
"name": "element_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| link | No | ||
| rect | No | ||
| text | No | ||
| attrs | No | ||
| value | No | ||
| xpath | No | ||
| states | No | ||
| element_id | Yes | ||
| inner_html | No | ||
| css_selector | No |