browser_get_attributes
Retrieve all HTML attributes from a page element using a CSS selector. Identify element properties for automation or inspection.
Instructions
Get all attributes of an element by CSS selector.
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": "browser_get_attributes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes |