cap_check
Check if an action is allowed or denied against a published capability string; when allowed, return a cap token to verify before spend/send hops.
Instructions
ALLOW/DENY an action against a published cap string (local pure function; same as POST /cap-check). On allow + CAP_TOKEN_SECRET, includes cap_token. action: spend|send|read|write|other. Spend/send must then pass token to cap_token_check before hop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | Yes | ||
| card | No | ||
| action | Yes |