spl_warrant_reserve
Reserve the expected cost against a Warrant BEFORE the job runs (pre-spend cap enforcement). Mutating: holds funds and returns a reservation id. File the receipt with that id to settle without double-deducting, or release it if the job never runs. Use after verify and before the job; use spl_warrant_receipt to settle, spl_warrant_release to refund.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "spl_warrant_reserve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usd | No | USD cost to hold. Required for the reservation. | |
| host | No | Hostname the job will call; checked against the Warrant's allow list when given. | |
| action | No | Action name the job will perform; checked against the Warrant's allowed actions when given. | |
| warrant | No | Warrant token to reserve against. Required. |