Policy usage
leash_policy_usageSame JSON as GET /api/policy/usage: rolling-24h spent, reserved and remaining for native HYPE and each capped token. Chain is taken from the verified policy; optional chain is a cross-check.
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": {
"policy": "<policy>"
},
"name": "leash_policy_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Optional cross-check against the signed policy's chain | |
| policy | Yes | Leash policy token (lp1.…) |