ln_preflight
Check payment safety by running budget limits, anomaly detection, and trust verification. Prevents overspending, price anomalies, and unverified vendors before processing.
Instructions
Pre-flight check before making a payment.
Runs budget limits, anomaly detection, and trust verification to produce an approve/reject/escalate decision. Use this before every payment to catch overspending, price anomalies, and unverified vendors.
Args: vendor: Vendor name or domain. amount_sats: Proposed payment amount in satoshis.
Returns: Decision: verdict (approve/reject/escalate), reasons, budget remaining, anomaly status, and trust score.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vendor | Yes | ||
| amount_sats | Yes |