get_inspected_element
Get the element you've marked in Chrome DevTools for inspection, enabling AI agents to access live page elements.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| tagName | Yes | ||
| className | No | ||
| outerHTML | Yes | First 5000 characters of element outerHTML | |
| attributes | Yes |