get_attributes
Retrieve an element's attributes by passing its nodeId from querySelector, enabling DOM inspection and validation during Chrome DevTools debugging.
Instructions
Get attributes of an 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": {
"nodeId": "<nodeId>"
},
"name": "get_attributes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Node ID from querySelector |