scrapePage
scrapePageScrapes any web page, PDF, or Word DOCX document URL and extracts clean LLM-ready Markdown, HTML, and metadata.
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": {
"url": "<url>"
},
"name": "scrapePage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target web page or document URL. | |
| pages | No | Optional page range to extract from PDFs (e.g. '1-5', '1,3,7'). If omitted on large PDFs, smart chunking automatically selects the most relevant pages. | |
| device | No | User-agent profile ('desktop' or 'mobile'). | |
| prompt | No | Optional query or prompt to guide smart page selection on multi-page PDFs. | |
| formats | No | Formats to return (['markdown', 'html', 'branding']). Defaults to ['markdown']. | |
| maxReviews | No | Maximum number of unique Amazon customer reviews to fetch (1 to 100). Defaults to 25 when includeReviews is true. | |
| removeImages | No | Set to true to strip all images and reduce token count. | |
| includeReviews | No | Set to true to fetch deduplicated Amazon customer reviews directly into data.reviews and markdown without AI calls. |