extract_entities
Extract emails, phone numbers, URLs, dates, IPs, prices, or custom/LLM-defined entities from web pages, with optional JSON output to disk.
Instructions
Extract entities (emails, phones, etc.) from web pages. Use output_path to persist the full entity extraction output to disk as JSON and receive a slim response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target URL | |
| use_llm | No | Use LLM for NER | |
| llm_model | No | LLM model | |
| overwrite | No | Overwrite an existing output file at output_path. Defaults to False. | |
| deduplicate | No | Remove duplicates | |
| output_path | No | Absolute file path (auto .json extension) to persist the full entity extraction as JSON. When set, the response is slimmed (content, markdown, extracted_data.raw_content removed). | |
| entity_types | Yes | Regex types: emails, phones, urls, dates, ips, prices, credit_cards, coordinates (singular forms like email/phone are accepted), plus any custom_patterns keys. Without use_llm, other types are listed under unsupported_entity_types with a warning. With use_llm=True any type name works (e.g. people, organizations, locations, products, events). | |
| llm_provider | No | LLM provider | |
| custom_patterns | No | Custom regex patterns as {type_name: regex}; list the type_name in entity_types to use it (regex mode only) | |
| include_context | No | Include context | |
| include_content_in_response | No | When True (with output_path set), also keep the entity data in the response. Defaults to False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||