batch_scrape
Scrape multiple URLs in a single request, with options to render JavaScript and save results as JSON. Useful for collecting data from many pages.
Instructions
Scrape multiple URLs efficiently.
Args:
urls: List of URLs to scrape
javascript: Set to True if the sites need JavaScript rendering
save_path: Optional file path to save all results as a JSON array (e.g. "C:/Users/me/Desktop/batch.json").
If a directory is given, a timestamped filename is generated automatically.
Returns:
List of scraping results for each URL
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": {
"urls": "<urls>"
},
"name": "batch_scrape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | ||
| save_path | No | ||
| javascript | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |