extract_structured
Extract structured data from repeating HTML containers using CSS selectors and attributes. Capture text, links, or other attributes from each container.
Instructions
Extract structured data from repeating containers.
fields: [{name: "title", selector: ".job-title", attribute: "text|href|src|..."}]
Only direct text nodes of element are captured for "text" (prevents child-field mixing).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"container_selector": "<container_selector>",
"fields": "<fields>"
},
"name": "extract_structured"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_selector | Yes | ||
| fields | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |