scrapewise_get_scraper_v2
Same get-by-id semantics as `scrapewise_get_scraper`, but returns the richer
`ScraperSuperDTO` shape (full schema body inline, full group body inline,
computed last-N-run stats). Use V2 when the agent wants the full picture in
one call instead of composing scrapewise_get_scraper + a separate group fetch
+ a separate schema fetch. V2 is the preferred shape for new tooling — V1 is
kept for portal back-compat.
Args:
- id (string, path param, required): scraper's MongoDB ObjectId. Get from
scrapewise_get_scraper_list.
Returns:
ScraperSuperDTO (a strict superset of ScraperDTO, so any V1-compatible
consumer can ignore the extra fields). Same id, name, type, sourceConfig,
itemsConfig — plus inlined `schema`, inlined `group`, and `runStats` rolled
up from the most-recent N runs.
Examples:
- Use when: "give me everything about scraper {id}" → V2 in one round-trip
- Use when: building a UI that shows scraper + group + schema together
- Don't use when: agent only needs id+name+type (use V1 to save bytes)
- Don't use when: you want the customer's whole list → use
scrapewise_get_scraper_list and call V2 only on the chosen scraper
Error Handling:
Same as scrapewise_get_scraper (400 CustomerError envelope on missing id;
401 / 500 standard).[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_v2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |