Extract Content
extract_contentExtract content from web pages, PDFs, documents, and YouTube transcripts into structured JSON. Use a URL or local file; API keys are only needed for audio/video transcription.
Instructions
Extract content from a URL or file. Does not require an API key for most sources (web pages, PDFs, documents, YouTube transcripts). API key is only needed for audio/video transcription.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to extract content from (web page, YouTube video, PDF link, etc.) | |
| engine | No | Optional extraction engine override, routed by input type. With `url`: auto, simple, firecrawl, jina, crawl4ai. With `file_path`: auto, simple, docling — `docling` requires `pip install "content-core[docling]"` and fails with a configuration error when the extra is missing, in which case use `auto` or `simple`. Any other value is rejected with an error naming the accepted ones. | |
| no_ocr | No | Disable OCR in Docling (requires engine=docling) | |
| formulas | No | Enable formula extraction via Docling (requires engine=docling) | |
| pictures | No | Enable image description + chart data extraction via Docling (requires engine=docling) | |
| file_path | No | Local file path to extract content from |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |