vc_lease_consume
Spend exactly one use of a lease, atomically. Blocks replay, expiry, revocation and overuse. Returns decision allow/block with a named reason plus an Ed25519 decision receipt. If a previous attempt timed out, call this again with the SAME use_nonce: a replay returns reason=replay — do not retry the write, reconcile it. ~$0.02/call.
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": {
"use_nonce": "<use_nonce>"
},
"name": "vc_lease_consume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | What you are about to do, for the ledger trail. | |
| agent_id | No | Caller identity; must match the lease holder unless it was issued to '*'. | |
| lease_id | No | Lease to spend from. | |
| use_nonce | Yes | Stable id for this attempt (the replay key). Reuse the SAME nonce on retry. | |
| lease_token | No | Signed lease token from vc_lease_issue (alternative to lease_id). | |
| payment_signature | No | Optional x402 PAYMENT-SIGNATURE if not using X-Vibes-Key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |