Set wallet caps
stack_set_wallet_capsSet or change the caps on an agent account's wallet after it is open. Caps are a controls feature: this needs the owner's controls (CONTROLS_REQUIRED otherwise), and without controls the wallet has no cap and its own USDC balance is the limit. per_payment_cap_usdc is the most one payment may be and daily_cap_usdc the most in a rolling 24 hours; any positive amount, STACK sets no maximum, and the daily cap must be at least the per-payment cap when both are set. A field left out is not changed; null removes that cap. Owner or admin only (accounts:manage); an agent context is refused. Never metered. STACK's relay holds the new caps at once. The wallet's signer rule at Privy was fixed when the wallet opened and only its owner can edit it, so the answer's signer_policy says what Privy itself still holds per payment, with covers_caps false when a cap was raised past it (the owner raises that rule at Privy). Returns per_payment_cap_usdc and daily_cap_usdc (strings, or null for none) and signer_policy.
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": {
"account_id": "<account_id>"
},
"name": "stack_set_wallet_caps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Agent account id (acct_*) | |
| daily_cap_usdc | No | The most in a rolling 24 hours, in USDC; at least the per-payment cap; null removes the cap; left out, unchanged | |
| per_payment_cap_usdc | No | The most one payment may be, in USDC; null removes the cap; left out, unchanged |