scrapewise_get_enrichment
Returns the lineage of a group's enriched dataset: which runs were combined, on which
columns they were matched, and when it was last built. Run ordinals match the `(run N)`
column tags in the enriched data. `configured` is false when there is no saved recipe
(e.g. a legacy title-merge) even if enriched data still exists.
Args:
- id (string, path param, required): the original group's MongoDB ObjectId.
Returns:
`EnrichmentLineageDTO` — `{configured, runs:[{ordinal,scraperId,scraperName,primary,
latestRunFinished,latestRunItems}], matches:[{fromOrdinal,fromColumn,toOrdinal,toColumn,
matchMode}], lastEnrichedAt, items}`.
Examples:
- Use when: "what was group {id}'s enriched data combined from"
- Use when: "which runs and join columns produced this enriched dataset" → same op
- Don't use when: you want the raw enriched rows → read the enriched group's data instead
Error Handling:
- 400 (CustomerError envelope) if no group with the given id exists for this customer.
- 401 Unauthorized.[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_enrichment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |