Set Micro spending cap
micro_spending_cap_setSet a monthly spending cap and warning threshold to control usage costs. Optionally enforce a hard stop when the cap is reached, preventing further requests.
Instructions
Replace the account monthly usage cap and warning threshold. A hard cap may stop requests when exhausted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Explicit confirmation to replace the current account spending-cap policy | |
| hardStop | No | ||
| monthlyCents | Yes | ||
| warningPercent | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| json | No | ||
| stderr | Yes | ||
| stdout | Yes | ||
| command | Yes | ||
| exitCode | Yes |