get_inspected_element
Retrieve the tag, id, classes, attributes, and outerHTML of the element selected for inspection in Chrome DevTools.
Instructions
Get the element marked for MCP inspection. To mark an element: select it in the Elements panel, then run window.$0 = $0 in the DevTools console. Returns tag, id, classes, attributes, and outerHTML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||