---
title: spending_update
url: "/docs/ai-agents/mcp-tools/spending/spending_update/"
canonical_url: https://docs.blossom88.com/docs/ai-agents/mcp-tools/spending/spending_update/
markdown_url: https://docs.blossom88.com/docs/ai-agents/mcp-tools/spending/spending_update.md
summary: Set the email warning amount, or turn the warning on or off.
categories:
- mcp
- reference
---

# spending_update

Set the email warning amount, or turn the warning on or off. Raising the capacity limit is capacity_limit_request_create.

| | |
|---|---|
| Access | Changes Blossom |
| Same as | [`blossom spending:update`](/docs/reference/cli/spending/update/) |

## Arguments

| Argument | Type | Description |
|---|---|---|
| `data` | object | As in spending.yml. Required. |
| `data.warning_monthly_amount` | number | Email when the month's bill passes this, in USD. |
| `data.warning_enabled` | boolean | — |

## Example

```json
{"data":{"clone_url":"https://github.com/acme/shop","services":[{"name":"web","command":"web","port":3000,"publicly_exposed":true}]}}
```
