get_attributes
Extract HTML element attributes from web pages in Yandex Browser using CSS selectors for automation and data collection.
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": "get_attributes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS селектор элемента | |
| attributes | No | Список атрибутов (если не указан - все) | |
| tabIndex | No | Индекс вкладки |