paygentic_set_policy
Set spending policies on wallets with per-transaction, daily, weekly, monthly, or category limits. Requires API key.
Instructions
Add a spending policy to a wallet (per-transaction, daily, weekly, monthly, or category limits). Requires API key.
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": {
"walletId": "<walletId>",
"policyType": "<policyType>",
"maxAmount": "<maxAmount>"
},
"name": "paygentic_set_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | Whether the policy is active (default: true) | |
| category | No | Category name (required if policyType is 'category') | |
| walletId | Yes | ||
| maxAmount | Yes | Maximum amount in USD | |
| policyType | Yes |