extract_structured
Extract structured data from repeated elements like cards or listings. Define CSS selectors for fields to auto-deduplicate, filter empty items, and pull direct text only; use detect_content_pattern first to find selectors.
Instructions
Extract structured data from repeated elements (cards, rows, listings). Auto-deduplicates, filters empty items, extracts direct text only. Use detect_content_pattern first to find correct selectors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max items to extract | |
| fields | Yes | Fields to extract from each item | |
| deduplicate_by | No | Field name to deduplicate by (empty = auto) | |
| direct_text_only | No | Extract only direct text of matched element, not children text (prevents field mixing) | |
| container_selector | Yes | CSS selector for each repeated item. Use detect_content_pattern to find this. |