get-element-properties
Retrieve specific properties and state information from a DOM element using a CSS selector. Integrates with Vite MCP Server for real-time updates.
Instructions
Retrieves properties and state information of a specific element
Input Schema
Name | Required | Description | Default |
---|---|---|---|
properties | Yes | Array of property names to retrieve (e.g., ['value', 'checked', 'textContent']) | |
selector | Yes | CSS selector of the element to inspect |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"properties": {
"description": "Array of property names to retrieve (e.g., ['value', 'checked', 'textContent'])",
"items": {
"type": "string"
},
"type": "array"
},
"selector": {
"description": "CSS selector of the element to inspect",
"type": "string"
}
},
"required": [
"selector",
"properties"
],
"type": "object"
}