ln_budget_set
Set spending limits in sats for a vendor per transaction, day, and month. Payments exceeding these limits are rejected.
Instructions
Set spending limits for a vendor.
Creates budget rules that the pre-flight gate enforces. Any payment exceeding these limits will be rejected.
Args: vendor: Vendor name or domain (e.g., "bitrefill.com"). max_sats_per_txn: Maximum sats allowed per single transaction. max_sats_per_day: Maximum total sats per day to this vendor. max_sats_per_month: Maximum total sats per month to this vendor.
Returns: The created/updated budget rule.
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>"
},
"name": "ln_budget_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vendor | Yes | ||
| max_sats_per_txn | No | ||
| max_sats_per_day | No | ||
| max_sats_per_month | No |