waxseal.approval.create
Generate a signed token proving human authorization for a specific AI agent action, embedding action details, context, and expiry for verification before execution.
Instructions
Create a signed approval token that proves a human explicitly authorized a specific AI agent action. The token encodes the action, context, expiry, and is signed with the user's WaxSeal key. Pass the token to the AI agent — it calls waxseal.approval.verify before executing. Requires WAXSEAL_PRIVATE_KEY_PEM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Description of the action being approved (e.g. 'Deploy v2.1.0 to production', 'Transfer 500 USDC to vendor wallet 0xabc...'). | |
| context | No | Additional parameters or context for the action (optional). | |
| expires_in_minutes | No | Minutes until the approval expires. Defaults to 10. |