spl_warrant_receipt
File a receipt against a Warrant after an action, settling the spend. Mutating: deducts the USD cost — pass the reservation id from spl_warrant_reserve to settle against the reservation instead of deducting twice. Use after a job completes; use spl_warrant_reserve before it runs.
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_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usd | No | USD cost to deduct. Required for settlement. | |
| host | No | Hostname that was called. | |
| note | No | Free-text note attached to the receipt. | |
| action | No | Action name that ran, e.g. compress. | |
| warrant | No | Warrant token the receipt is filed against. Required. | |
| result_sha256 | No | SHA-256 hex of the result body, for the audit trail. | |
| request_sha256 | No | SHA-256 hex of the request body, for the audit trail. | |
| reservation_id | No | Reservation id from spl_warrant_reserve, when the cost was pre-reserved. Settles against the reservation instead of deducting twice. |