set_policy
Defines wallet spending limits by setting per-transaction and daily caps, approval thresholds, recipient allowlists, expiry, and purpose, then returns a liability receipt.
Instructions
The owner grants the spending scope: per-transaction cap, daily cap, approval threshold, recipient allowlist, expiry, purpose. Returns a plain-language liability receipt. Responsibility follows this scope.
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": {
"wallet_id": "<wallet_id>",
"per_tx_cap_usdc": "<per_tx_cap_usdc>",
"daily_cap_usdc": "<daily_cap_usdc>"
},
"name": "set_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | No | ||
| allowlist | No | ||
| wallet_id | Yes | ||
| daily_cap_usdc | Yes | ||
| expires_in_days | No | ||
| per_tx_cap_usdc | Yes | ||
| approval_above_usdc | No |