set_site_spend_cap
Cap hosting spend
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 |
|---|---|---|
monthlyCreditsrequired | 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.
Related tools
list_site_usageHosting usage of hosted projectsexport_siteDownload a hosted project as a ziprollback_pageRoll a hosted project backpush_site_to_githubPush a hosted project to GitHubdelete_site_secretDelete a site secretsite_logsRead a hosted project's server logsset_site_secretSave a secret for a site’s server codeexport_site_dbExport a hosted project's databasedisconnect_domainDisconnect a domain from a pagelist_site_db_backupsList a hosted project's database snapshots