set_billing_alert
Set or update a month-to-date spend alert with a threshold in cents (minimum 100). Optionally enable or disable the alert. Requires billing:write permission.
Instructions
Set (or update) the month-to-date spend alert. Requires scope billing:write. Plain write — not gated (no money moves; it only configures a notification). thresholdCents is the alert threshold in cents (minimum 100 = €1); enabled optionally turns the alert on/off (defaults on). See get_billing_alert for the current state.
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": {
"thresholdCents": "<thresholdCents>"
},
"name": "set_billing_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | Turn the alert on/off (defaults on). | |
| thresholdCents | Yes | Alert threshold in cents (min 100 = €1). |