scrapewise_get_scraper_site
Returns the Site (URL inventory) attached to the given scraper, if any. Not
every scraper uses a Site — only fixed-URL-list scrapers do (the
"scrape-these-50-pages" pattern). Single-page scrapers and paginated
category-listing scrapers don't have a Site and this endpoint returns null.
Use to discover the URL list a scraper iterates over before viewing the
scraped data, or as the first step in adding more URLs to a scraper's input
inventory.
Args:
- id (string, path param, required): the SCRAPER's MongoDB ObjectId
(NOT the site's id — the lookup is "site for this scraper").
Returns:
SiteDTO or null. SiteDTO carries name, link count summary, and ownership;
the actual link inventory is paginated and lives at a separate endpoint.
For the actual Link list, call scrapewise_get_scraper_site_links with the
site's id from this response.
Examples:
- Use when: "what URLs does scraper {id} target?" → get site, then list links
- Use when: planning to add URLs to a fixed-list scraper — get site, then
PUT a new SiteDTO via scrapewise_create_scraper_site
- Don't use when: scraper is a single-page or category-listing scraper →
no Site; check scraper.config.sourceConfig.url on the scraper directly
Error Handling:
- 401 Unauthorized.
- 500 INTERNAL.[runtime hint] This tool returns JSON-as-text — its response shape is dynamic (per-scraper itemsConfig, file binary, etc.) so the MCP outputSchema is omitted. Do not rely on the presence of any specific field in the response; treat the result as a string-or-object blob and parse defensively.
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": {
"id": "<id>"
},
"name": "scrapewise_get_scraper_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |