get_revenue_anomalies
Detect unusual revenue patterns in Shopify Partner apps. Use configurable lookback windows to surface deviations from expected revenue, enabling proactive anomaly response.
Instructions
Detect unusual patterns in revenue.
Args: app_id: Filter by app (optional). lookback_days: Analysis window in days (default 90).
Returns: JSON string with anomaly list (date, amount, expected, deviation, type). Empty list if no unusual patterns found.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_revenue_anomalies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | No | ||
| lookback_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |