Publish a website preview
publish_sitePublishes a website to a free public address (https://<site_name>.robinsite.co.uk) and returns the live link. No account, sign-up or payment needed. The preview stays online for 30 days. Returns a site_token required to update or delete the site later.
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, including a top-level index.html. Up to 300 files, 2 MB each, 10 MB in total. Allowed types: html, htm, css, js, mjs, json, map, webmanifest, txt, md, xml, csv, svg, png, jpg, jpeg, gif, webp, avif, ico, woff, woff2, ttf, otf, mp3, mp4, webm, pdf. For a built app (React, Vite...), send the build output folder (e.g. dist/), not the source. | |
| title | No | Human-readable name of the site or business, e.g. "Rosie's Bakery, Leeds". | |
| site_name | No | Preferred address, e.g. "rosies-bakery" for https://rosies-bakery.robinsite.co.uk. Lowercase letters, digits and hyphens. If taken, a short suffix is added. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| site_name | Yes | ||
| expires_at | Yes | ||
| site_token | Yes | ||
| total_bytes | Yes | ||
| name_adjusted | Yes | ||
| files_published | Yes |