parse_html_fragment
Parse an HTML fragment into a structured node tree for querying and data extraction.
Instructions
Parse an HTML fragment into a structured node tree using scraper_rs.parse_fragment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | ||
| source_url | No | ||
| max_size_bytes | No | ||
| document_handle | No | ||
| truncate_on_limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| parse_mode | Yes | ||
| source_url | No | ||
| max_size_bytes | No | ||
| document_handle | No | ||
| truncate_on_limit | Yes |