browser_get_attributes
Fetch all HTML attributes of an element as a key-value dictionary using its snapshot ID or CSS selector.
Instructions
Returns all attributes of an HTML element as a key-value dictionary.
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": {
"target": "<target>"
},
"name": "browser_get_attributes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target element reference (snapshot ID) or CSS selector. |