get_page
Read a hosted page read-only
Description
One hosted page: its live and preview URLs, every version, its files, and the leads from its forms by version and A/B variant. file (e.g. index.html, optionally version) returns that file's source as it was sent, with Hermoso's tag and form wiring taken out, to edit and send back with update_page (a form marked data-hermoso-lead sends to the lead list; every file is public, so no secrets). platform (meta, google, tiktok, linkedin, microsoft, reddit, pinterest, snapchat, x, chatgpt) with optional campaign / content returns the page as a UTM-tagged ad destination; adDestinations always lists one per platform. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
namerequired | string | the page name, which is its address: spring-sale is served at https://spring-sale.hermoso.page |
file | string | a file to read, e.g. index.html |
version | number | with file: the version to read (default the live one) |
platform | "meta" | "google" | "tiktok" | "linkedin" | "microsoft" | "reddit" | "pinterest" | "snapchat" | "x" | "chatgpt" | the ad platform the destination is for |
campaign | string | utm_campaign |
content | string | utm_content, e.g. the ad name |
path | string | a page of the site other than the home page, e.g. pricing.html |
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/get_page.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_page","arguments":{"name":"<string>"}}}
CLI
hermoso call get_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.
Related tools
update_pageChange a hosted pagelist_pagesList hosted pagesunpublish_pageTake a hosted page offlineconnect_domainServe a page on your own domainpublish_pagePublish a web page (Hermoso hosts it)domain_statusCheck a connected domaindisconnect_domainDisconnect a domain from a pageset_site_secretSave a secret for a site’s server codedelete_site_secretDelete a site secretrollback_pageRoll a hosted project back