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.
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_preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vendor | Yes | ||
| amount_sats | Yes |