ln_anomaly_check
Detect payment anomalies by comparing a proposed amount against a vendor's historical averages. Returns a verdict of normal, high, or first_time.
Instructions
Check if a proposed payment amount is normal for a vendor.
Use this before making a payment to catch price anomalies. Compares the proposed amount against historical averages.
Args: vendor: Vendor name or domain. amount_sats: Proposed payment amount in satoshis.
Returns: Anomaly report: verdict (normal/high/first_time), context, and historical average.
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": {
"vendor": "<vendor>",
"amount_sats": "<amount_sats>"
},
"name": "ln_anomaly_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vendor | Yes | ||
| amount_sats | Yes |