scrapewise_update_scraper_group_currency
Sets the group's Analytics-dashboard display currency. When set, the dashboard converts
every price in the group to this ISO 4217 currency before showing or comparing it; a row
already scraped in this currency is shown unconverted. displayCurrency=null clears the
preference (each row shown in whatever currency it was scraped in, unconverted).
Args:
- id (string, path param, required): the group's MongoDB ObjectId.
- body (GroupCurrencyDTO, required): displayCurrency — an ISO 4217 code (e.g. "EUR",
"SEK"), or null to clear.
Returns:
The updated GroupDTO (carrying displayCurrency).
Examples:
- Use when: "show group {id}'s dashboard in euros" → displayCurrency="EUR"
- Use when: "stop converting prices in group {id}" → displayCurrency=null
Error Handling:
- 400 (CustomerError envelope) if no group with the given id exists for this customer.
- 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>",
"body": "<body>"
},
"name": "scrapewise_update_scraper_group_currency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the group's MongoDB ObjectId. | |
| body | Yes | displayCurrency — an ISO 4217 code (e.g. "EUR", "SEK"), or null to clear. |