get_attribute
Retrieve a specific attribute value from a webpage element to extract data or verify properties during browser automation.
Instructions
Get a specific attribute value from 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": {
"ref": "<ref>",
"attribute": "<attribute>"
},
"name": "get_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| attribute | Yes |