Read Leash policy
leash_policy_readVerifies a Leash policy token's signature and returns the decoded policy (v1/v2), expiry and time left, human-readable caps and allowed contracts with labels. 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_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Optional cross-check against the signed policy's chain | |
| policy | Yes | Leash policy token (lp1.…) |