# Hermoso: set_site_spend_cap · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/set_site_spend_cap/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / set_site_spend_cap

# `set_site_spend_cap`

Cap hosting spend

Area: LAUNCH PAGES · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Set a monthly credit cap on the account's hosting usage (list_site_usage): the owner is emailed at 80%, and at 100% every hosted project answers "paused" until the cap is raised or removed, or the month turns. monthlyCredits null removes the cap. Free.

## Parameters

Parameter Type Description

`monthlyCredits` required `number | null` the cap in credits a month, or null to remove it

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/set_site_spend_cap`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_site_spend_cap","arguments":{"monthlyCredits":"<number|null>"}}}`
**CLI**

`hermoso call set_site_spend_cap --json '{"monthlyCredits":"<number|null>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [list_site_usage](https://hermoso.ai/docs/reference/publish/list_site_usage/) Hosting usage of hosted projects
- [export_site](https://hermoso.ai/docs/reference/publish/export_site/) Download a hosted project as a zip
- [rollback_page](https://hermoso.ai/docs/reference/publish/rollback_page/) Roll a hosted project back
- [push_site_to_github](https://hermoso.ai/docs/reference/publish/push_site_to_github/) Push a hosted project to GitHub
- [delete_site_secret](https://hermoso.ai/docs/reference/publish/delete_site_secret/) Delete a site secret
- [site_logs](https://hermoso.ai/docs/reference/publish/site_logs/) Read a hosted project's server logs
- [set_site_secret](https://hermoso.ai/docs/reference/publish/set_site_secret/) Save a secret for a site’s server code
- [export_site_db](https://hermoso.ai/docs/reference/publish/export_site_db/) Export a hosted project's database
- [disconnect_domain](https://hermoso.ai/docs/reference/publish/disconnect_domain/) Disconnect a domain from a page
- [list_site_db_backups](https://hermoso.ai/docs/reference/publish/list_site_db_backups/) List a hosted project's database snapshots

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
