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.
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": {
"monthlyCents": "<monthlyCents>",
"warningPercent": "<warningPercent>",
"confirm": "<confirm>"
},
"name": "micro_spending_cap_set"
}
}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 |