Extract
extractPull specific fields out of one or more pages as JSON, shaped by a JSON schema or described in a prompt. Use it when you need values such as prices, names or dates rather than the whole page text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | The URLs to extract from. | |
| prompt | No | Natural-language description of what to pull. | |
| schema | No | A JSON schema the result must conform to. | |
| showSources | No | Return the list of URLs that were actually extracted. | |
| showConfidence | No | For each field, return a confidence score and the exact source passage the value was drawn from. | |
| preferStructure | No | Keep headings, lists and tables in the text handed to the model. |