vc_lease_issue
Mint a durable single-use capability lease, or attenuate a parent lease. Use before an irreversible action you may need to retry: pass a stable use_nonce to vc_lease_consume so a retry after a timeout blocks instead of writing twice. Authority is conserved — a child's uses are reserved out of the parent, so a 1-use grant cannot father N free children. ~$0.05/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": {
"holder": "<holder>",
"action_scope": "<action_scope>"
},
"name": "vc_lease_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holder | Yes | Agent the authority belongs to. Use '*' for any holder. | |
| max_uses | No | How many times this authority may be spent (1..10000). | |
| ttl_seconds | No | Seconds until expiry. Secondary check only: the ledger is the authority. | |
| action_scope | Yes | Space-separated scope atoms the lease grants, e.g. 'read:repo write:issue'. | |
| parent_lease_id | No | Attenuate from this parent: child scope must be a subset, and its uses are transferred out of the parent. | |
| payment_signature | No | Optional x402 PAYMENT-SIGNATURE if not using X-Vibes-Key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |