Extract feed posts
extract_feed_postsExtract structured feed/post records (author, text, timestamps, live flags) from any scoped feed region, without writing site-specific CSS selectors.
Instructions
Extract structured feed/post records (author, text, times, live flags) from a scoped feed region without site-specific selectors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Content root for text and elements. Compact defaults to main when a main landmark exists, or to a visible modal dialog (aria-modal=true or <dialog> opened with showModal()). Use document for the page behind a modal; pass ignoreRoles: ["dialog"] or ["alertdialog"] to hide both dialog and alertdialog. | |
| tabId | No | Optional Chrome tab id. Defaults to the claimed session tab, then the active tab. | |
| maxPosts | No | Maximum posts to return. Defaults to 10. | |
| documentId | No | Exact frame document id returned by list_frames. Omit to target the current top document. | |
| ignoreRoles | No | Computed roles to exclude from scoped snapshots. Compact/main defaults to ["dialog"] when no visible dialog is open. A visible non-modal dialog is included without taking scope; a visible modal takes scope. Pass ["dialog"] or ["alertdialog"] to hide both roles, or [] to include them in the current scope. | |
| sessionTabId | No | Optional claimed tab session id returned by claim_tab. | |
| excludeSelectors | No | CSS selectors for subtrees removed from the scoped snapshot. |