Publish a website
publish_sitePublish a website you built (HTML, CSS, JavaScript, images) at an address of its own that anyone can visit. Give people the url; keep id and key to change it with update_site. Static files only: no server code runs, and everything in the site is public. Expires in 24 hours unless the user connected a hello.new account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"files": "<files>"
},
"name": "publish_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Every file of the site. index.html is the home page; pages link to the rest by path, like "style.css". At most 100 files and 10 MB. | |
| title | No | What the site is, for the user's dashboard. | |
| expires_in | No | Seconds until the link expires. Default: 24 hours, or never on a hello.new account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| key | Yes | For the other tools. Never give it out. | |
| url | Yes | The link. Give it to people. | |
| claim_url | No | Anonymous links: where the user can keep the link past 24 hours. | |
| stats_url | Yes | A live dashboard of who opened the link, for the user. | |
| expires_at | Yes | null: it never expires. |