dom_inspect
Inspect a DOM element's bounding box, computed CSS styles, attributes, text, and child count to understand its structure before making changes.
Instructions
Inspect a DOM element: bounding box, computed CSS styles, attributes, text content, children count. Use this to understand element structure before making changes.
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>"
},
"name": "dom_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Page URL. Auto-detected if omitted. | |
| reload | No | Force page reload. Default: true on first call. | |
| selector | Yes | CSS selector of element to inspect. Required. |