Set my spend cap and alerts
set_spend_controlsOn demand only. cap_usd stops requests (402 spend_cap_reached) once this billing period's usage would pass it (null removes the cap); alert_usd and alert_percents create notifications; webhook_url and email are optional. Only send what you want to change. Ask the person before setting or removing a cap.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_spend_controls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| cap_usd | No | ||
| alert_usd | No | ||
| webhook_url | No | ||
| alert_percents | No |