hermosodocs

update_page

Change a hosted page destructive

Area: LAUNCH PAGES · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

Change a page published with publish_page. files [{path, content | url}] add or replace just those files and the rest are kept from the live version; remove [paths] deletes files; html replaces index.html; replace:true publishes exactly the files sent. Each change is a new version with its own preview link; live:false keeps the live page as it is. setLive <version> with no files makes an existing version live: a rollback, or bringing back an unpublished page. abTest {version, split} runs an A/B test: that version for split% of visitors (default 50), the live one for the rest; abTest:false ends it. A site without robots.txt / sitemap.xml gets them generated. get_page file returns a file's current source to edit. Free.

Parameters

ParameterTypeDescription
namerequiredstringthe page name, which is its address: spring-sale is served at https://spring-sale.hermoso.page
htmlstringthe new index.html
filesobject[]files to add or replace
files[].pathrequiredstringrelative path inside the site, e.g. index.html, css/site.css, img/hero.webp
files[].contentstringthe file content: text, or base64 with encoding base64
files[].encoding"utf-8" | "base64"utf-8 (default) for text, base64 for binary
files[].urlstringinstead of content: the url of a file put through upload_file (or any public https file)
removestring[]paths to delete, e.g. ["old.html"]
replacebooleantrue = the new version holds exactly the files sent
livebooleanfalse = save as a preview only
setLivenumbermake this existing version live (no files needed)
badgebooleanfalse takes the Made with Hermoso badge off (paid plans); no files needed
cookieBannerbooleancookie banner + privacy page on or off; no files needed
abTestobject | booleantest a version against the live one; false ends the test
abTest.versionrequirednumberthe variant version (publish it with live:false first)
abTest.splitnumberpercent of visitors who see it, 1-99, default 50
titlestring
notestringwhat this version changes

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/update_page.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_page","arguments":{"name":"<string>"}}}

CLI

hermoso call update_page --json '{"name":"<string>"}'

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.

All 728 Publishing & scheduling tools · tools.json