Re-deploy an existing site
update_siteRe-deploys an existing site atomically, replacing all of its files: a live file not sent is removed. siteId is required, so it never creates a new site. Otherwise the same rules apply as for any deploy: a root index.html, website files only, and the plan limits.
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": {
"siteId": "<siteId>",
"files": "<files>"
},
"name": "update_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| siteId | Yes | ||
| message | No | Shown in deployment history. e.g. "Added catering page" |