cap_token_check
Verify a short-lived capability token for a specific action, with an optional card, before spend, send, read, or write. Fails closed if invalid.
Instructions
Verify a short-lived cap_token for an action (optional card). Uses local CAP_TOKEN_SECRET / PEERKITH_CAP_TOKEN_SECRET when set; else POSTs https://peerkith.com/cap-token-check. Fail closed.
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": {
"token": "<token>",
"action": "<action>"
},
"name": "cap_token_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | No | ||
| token | Yes | ||
| action | Yes |