Inspect live page structure (maintenance)
debug_page_structureInspect the live DOM to see how many elements match given CSS selectors, with tags, attributes, and text previews, so you can fix Facebook selectors after a redesign instead of guessing.
Instructions
Report what is actually rendered on the page the browser is currently showing: how many elements match each probe selector, plus their tag, attribute names, text length and a short text preview. Use this to repair src/facebook/selectors.ts against real markup after a Facebook redesign, instead of guessing. Read-only, and it does not navigate — point the browser somewhere with a read tool first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sample | No | How many matched elements to describe per probe | |
| selectors | No | CSS selectors to probe. Defaults to the feed/post container candidates. | |
| show_attributes | No | Attribute names whose VALUES to include, e.g. ["aria-label","data-ad-rendering-role"]. Attribute names alone are often not enough to tell two candidates apart. | |
| text_preview_chars | No | How much text to preview per element |