scrapewise_get_scraper_sitemaps
Returns the URLs that were ingested by a previous
scrapewise_run_scraper_sitemaps_harvest call, paginated and filterable.
Each entry is a slim record (URL + image + image title + lastSeen) — not the
full crawled HTML. Use to inspect what's been harvested or to filter to a
sub-tree before configuring a Site.
Args:
- scraperId (string, path param, required): the scraper's MongoDB ObjectId.
- pageable (Spring Pageable): page, size, sort.
- filters (string, query param, optional): URL-encoded JSON Mongo-style
filter expression on sitemap-entry fields.
- search (string, query param, optional): keyword that matches anywhere in
URL / image / imageTitle.
- restriction (UrlRestriction enum, query param, optional): NONE | BASE_PATH
| SLASH_COUNT — narrows by URL-shape.
Returns:
Spring `Page<SlimSitemapEntryDTO>` — `{content, totalElements, totalPages, ...}`.
Empty page if no harvest has run, or if the harvest produced 0 URLs.
Examples:
- Use when: "show me what sitemap URLs scraper {id} has"
- Use when: "find sitemap URLs containing 'shoes'" → search=shoes
- Don't use when: you haven't harvested yet → call
scrapewise_run_scraper_sitemaps_harvest first
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": {
"scraperId": "<scraperId>"
},
"name": "scrapewise_get_scraper_sitemaps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Zero-based page index (0..N) | |
| size | No | The size of the page to be returned | |
| sort | No | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | |
| search | No | Searching by keyword all over URL, image, imageTitle | |
| filters | No | ||
| scraperId | Yes | ||
| restriction | No | URL restriction mode |