spl_warrant_verify
Verify a Warrant token and check it against an optional host, action, and USD cost — pass usd to enforce the spend cap BEFORE the job runs. Read-only; verifies locally and changes nothing. Returns valid true/false with the Warrant or a reason. Use before running a job under a Warrant; use spl_warrant_issue to mint one.
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_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usd | No | Expected USD cost of the job; checked against the remaining spend cap when given. | |
| 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 string to verify. Required. |