Deploy a static site
deploy_sitePublishes a static website to harvis.dev and returns its live public URL. No account or authentication is needed. Takes every file of the site (HTML, CSS, JS, images...) with its path relative to the site root; an index.html is expected. Returns the live 'url', a private 'claimUrl' and a private 'deployToken'. Opening claimUrl and signing in (free) attaches the site to an account so it can be edited or deleted later; the link cannot be recovered if lost, and an unclaimed site is permanently deleted 24 hours after its last deploy. Passing deployToken on a later call replaces that site's files in place (before or after claiming) instead of creating a new site. The token identifies the site by itself; subdomain is an optional guard against updating the wrong site.
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": "deploy_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional human-friendly site name. | |
| files | Yes | Every file of the site. Total size limit: 50 MB. | |
| subdomain | No | Optional check when updating: the subdomain of the site the deployToken belongs to. Has no effect without deployToken. | |
| deployToken | No | To UPDATE an existing site: the private deploy token returned by the deploy that created it (also shown in the dashboard). |