elements
List page headings, links, buttons, forms, tables, or images by type and return accessible details for each, helping agents inspect page structure without parsing raw HTML.
Instructions
Lists all elements of a specific type on the page (like a screen reader rotor). Returns accessible information about each element.
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": {
"session": "<session>",
"type": "<type>"
},
"name": "elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of elements to list | |
| limit | No | Maximum number of elements to return (0 = no limit). Default: 0 | |
| session | Yes | The session name to query |