get-element-properties
Retrieve specific properties and state of a DOM element using a CSS selector. Specify property names like value, checked, or textContent to inspect current UI state.
Instructions
Retrieves properties and state information of a specific 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": {
"selector": "<selector>",
"properties": "<properties>"
},
"name": "get-element-properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector of the element to inspect | |
| properties | Yes | Array of property names to retrieve (e.g., ['value', 'checked', 'textContent']) |