wavexis_dom_get_attr
Retrieve an attribute value from a DOM element using its CSS selector and active session ID. Returns status, value, selector, and attribute name.
Instructions
Read an attribute value from an element matching a CSS selector.
Use wavexis_dom_set_attr to write an attribute value.
Side effects: None; read-only. Returns: JSON string with keys: 'status' ('ok'/'error'), 'value' (str|None), 'selector' (str), 'name' (str).
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": {
"input": "<input>"
},
"name": "wavexis_dom_get_attr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |